In Azure Logic Apps (Standard), I am creating a workflow that gets triggered when a new email arrives to a mailbox. However, I see there is a delay of 20-30 sec after the mail arrives to the mailbox. I see in "When a new email arrives(V3)", there is no way to specify the polling frequency. How to pull the email immediately upon arrival?
PS: I am saying it take more than 20s by checking the difference between workflowContext.trigger.outputs.body.receivedDataTime and the current datetime when workflow runs.
As mentioned by @skin the simple answer for your query is NO.
Yes, your right there is no way to mention polling frequency in When a new email arrives(v3).
But if you are ok with the alternative trigger When a new email arrives in a shared mailbox (V2) you can try this trigger and check any time variation is helpful in your case. This trigger is used to pull the email immediately upon arrival.
Refer this document for more information related to When a new email arrives in a shared mailbox (V2) trigger.
The delay of 20-30 seconds after an email arrives to a mail box is caused by the trigger limitation for shared mailboxes and cannot be reduced.
Reference MS Document.
.