Send: email

The system is also capable of sending out emails as part of executing a Flow. The email can be send to either the user that is engaging with the bot as well as the business or owner of the bot using a specified email address.

The system will send the email to the current user when an email address is known.

Send email

By default the node expects an email address to be configured in the field Email address. If not provided, it will use user.email by default.

When the destination "email address from variable" is selected however, the email address will be fetched dynamically from the chosen variable. In the below example, it would be the variable new_email:

Email attachments

Email attachments need three fields:

  • Caption: the name that will be given to the file when attached in the email

  • URL: the URL pointing to the file, the file must be publicly accessible

  • File type: should be one of 'image', 'audio', 'video', or 'file'.

Property
Description
Explanation

Subject

The subject of the message

Variables can be embedded using #{ … }

Message

The message body

Variables can be embedded using #{ … }

Destination

Target destionation

Define how the target email address is configured: either by providing an email address or selecting a variable which holds the email address

Email address

The recipient of the email

When this field is left blank it will use the` user's email address

Email variable

The variable in which the email address is to be found

The chosen variable should hold the email address to which to send the email to

CC

Carbon copy email addresses

use the Add cc button to add email addresses that should be used to send a carbon copy of the email.

Attachments

File attachments

Set the correct file type and url of the attachment

Changing the email template

Standard emails that are send out by the platform are using labels that can be configured in the labels.yaml file. For this you need the developer role.

Last updated

Was this helpful?