Open Navigation

Send Email

Quickly send emails from your workflow

Overview

The Send Email connector can be used as a quick way to send an email to any address.

This is useful for things such as internal alert emails, automated mails to customers etc.

For any mail that is sent you will need to specify a Recipient, a Subject and Content.

Example - setting up an email alert

The below example shows how you might check the output of your workflow trigger to see if it indicates that an account has expired.

Note that this example shows using jsonpaths as the core Tray method of moving data from one connector to another. If you are unfamiliar with this method, please see one of our intro tutorials and our basic working with data guide.

This is done using a boolean connector to check if the trigger output indicates that an account has expired:

send-email-workflow-boolean-2

If the account has expired then an email is sent. Note that the Content field can mix written text with data pulled in from the trigger step by enclosing the jsonpaths in { } as per the below examples of {$.steps.trigger.account.id} and {$.steps.trigger.account.email}:

send-email-workflow-email-2

Was this article helpful?
Yes
No