Sending an Email from a FlowLast Updated: 02/15/2016 Introduced in Verision: 2.0
Add a Send Email component to the Flow Designer workspace to send an e-mail message from the flow. Designate the To and From email address and the subject of the message in the Mapping Editor.
The Send Email component can be found in the Flow Designer’s Toolbox panel in the Communication category.
Our example flow will send an e-mail composed of a few static variables. In most circumstances, we’ll generate e-mails from dynamic variables, such as when we’d send e-mails to a list of recipients. Because our example is so simple, we can build our flow with a single step – Send Email 1.
We’ll begin by navigating to a project folder and selecting the Create Flow button.
We’ll give the flow a name and click OK.
In the Flow Designer start-up window, under the All Steps [Catalog] > Communication category, select a Send Email component and click Add to add it to the workspace.
Select the Send Email 1 step, and click the Show Mapping Editor link in the Properties panel.
Next to the From input, we’ll set the mapping type to Constant . . .
. . . then enter the email address in the Value field. We’ll repeat the process for the To input.
Next to the Subject input, we’ll click the Show Editor button.
In the Merge Text Editor, we’ll enter the text for the subject of the e-mail, then click OK.
The flow is complete. save the flow and click the Debug Flow link to run it in the Debugger.
Note that in Decisions version 3.5 and above, you’ll need to click Test Flow to access the Debugger.
Click the Diagram tab to see that the flow has completed without any errors.
We’ll access an e-mail client, and view the message.