Loading...
Loading...
Loading...
An email send flow is an Architect flow type that runs when an agent sends an email. Use it to apply business logic before the email leaves your organization. For example, you can confirm that the email is within permitted sending hours, invoke a data action that queries a Do Not Contact (DNC) list, or use a data action to validate attachments. The flow then either allows the email to be sent or stops it and tells the agent why.
Without an email send flow, an agent’s email is sent when they click Send. With an email send flow configured in the queue, the flow runs first and decides the outcome.
An email send flow runs when an agent sends either of the following:
The flow runs every time an agent selects Send in a queue that has an email send flow assigned. It runs the same way for new emails and replies.
An email send flow is separate from an inbound email flow. The inbound email flow handles incoming email and routes it to a queue and an agent. The email send flow only runs when that agent sends an email.
Email send flows include two actions, found in the Email category of the toolbox.
Every path through an email send flow must end in one of these two actions.
Apart from Abort Send and Complete Send, you can build an email send flow with the same common actions you use in other flow types, including:
For more information about all available actions, see Task and state editor actions.
To get started, create an email send flow and assign the flow at the queue level. Any agent who sends an email on that queue triggers the flow. To stop using the flow, clear the Email send flow selection in the configured email queue. Emails are then sent immediately again with no Architect logic.
Email send flows are designed to run quickly so agents are not left waiting. A flow must finish within 60 seconds of being triggered. To support this, email send flows have a reduced maximum flow size compared with standard flows. Keep your flows small and avoid long-running logic or slow data action calls.
While the flow runs, the interaction shows a Transmitting state in the interaction timeline. The duration of that state is the flow’s execution time. Use it to check that your flow stays well inside the 60-second limit.
When you query for email send flows in analytics, the exit reason shows how the flow ended:
Use the exit reason to report on how many emails your flow allowed and how many it stopped.
Email send flows have the following limits on user-defined variables:
| Limit | Value | Description |
|---|---|---|
| User-defined variables per flow | 50 | If a flow already has 50 user-defined variables, you cannot add another, and the flow fails validation and cannot be published. |
| Runtime allocation for user-defined variable values | 48,000 | The maximum combined size of the values of all user-defined variables. If the combined size exceeds this limit, the flow encounters an error at runtime. |
Get user feedback about articles.