Email Flow Step
Use the Email flow step to send an email to one or more email
addresses.
This flow step is useful if you want to send notifications when a previous flow step fails, or just before ending a flow with a status of Failed. It is the primary way to notify someone without requiring them to log in and view a dashboard.
You can also create a flow with just the Email step, then use the
Call a Flow step to call the Email step. This is
useful when you frequently send flow result emails to the same addresses in the Email
step, and you may want to combine this process with a custom input
schema.
Video
You can watch a video explanation of this flow step on Trimble Learn: Email Flow Step.
Step Inputs
In the Edit Step menu, you can add details about the step configuration as needed for your flow.
Step Detail
-
Emails: Enter the email addresses to which the email will be sent. You can enter a maximum of 25 comma-separated email addresses. You can also enter an expression that outputs an array of email addresses.
-
Attachment: Enter an expression that returns a file to attach. This field accepts file pointers as well as the output of a
Create Delimited File flow step or
Create Text File flow step.
-
Subject: Enter the subject of the email. This can be an expression or string.
-
Body: Enter the content of the email. This can be an expression or string. The email body will adhere to a string in properly formatted HTML.
Step Outputs
The output of the Email step is the sent email. You may see one of the following statuses after running the Email step.
-
Successful: Occurs when the email is sent successfully.
-
Failed: Occurs when the email fails to send.
Example Use Case
Use the Email step to receive notification of a step’s
completion. This works well with the Conditional flow step.
You can also create a flow with just the Email step,
then use the Call a Flow step to call the Email step. This is
useful when you frequently send flow result emails to the same addresses in the
Email step.
If you create a flow with the Map to format data found
in the workflow processing and generate a file (typically a .csv file) from the data
in the Create Delimited File flow
step, you can email that file in the
Email step.
Was this helpful? Give us feedback.