Send email
This task will send emails to the desired destination. This task has the following settings:
From name - It's the name that is displayed in an inbox above or to the left of the subject line. It tells the recipient who sent the message or who itās 'from'.
From email - here you can the address of the email sender. Keep in mind that to use a custom "From email" you first need to contact your HyperCoach to validate your domain. Otherwise, this feature won't work and emails won't be sent.
Reply-to email - this will be the email of the person who will receive replies to the sent email.
Destination emailsĀ (to) - here you can set the receivers of the emails. you can enter up to 15 addresses here, they can be separated by a comma, semicolon, or whitespace. You can also use variables like the email of the CMS contact or CMS organization(it works with other entities too). To link such an email you should have the needed entity set as a property of the process, then you can enter the entity id of the email field in {{}} brackets. Example - {{company.email}}.
Destination emailsĀ (cc) - here you can set the receivers of the email copies. Has the same possibilities and limitations as 'Destination emailsĀ (to)'.
Destination emailsĀ (bcc) - here you can set the receivers of the hidden email copies. Has the same possibilities and limitations as 'Destination emailsĀ (to)'.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/Hp5HNyq9v0Lg4PRZfCPIm_image.png?format=webp)
You can enable the computed mode for all previously mentioned fields.
Default template - here you can select the email template and edit the mapping of the template. You can also select the language of the default template.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/C6NVXa_7qJbhntU-9ENG5_image.png?format=webp)
The field also supports computed expressions, but keep in mind that in the end, the computed expression has to return an entity id of the template. You can find the entity ID of email templates in the 'Email templates' CMS object.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/HLolIlNYu7b2B2Kthk_Zs_image.png?format=webp)
Template mapping will allow you to choose templates based on the process property. To set up mapping click on the 'show template option'
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/l830a-FyNFusw2ILMhJjm_image.png?format=webp)
There you should choose a process property that will be used for mapping and the mapping rules.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/ABaXlQ21tL65d5FD0YlCr_image.png?format=webp)
Example (see screenshot above) - the node sends email in the Dutch language by default, because the Dutch template is selected as default.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/WGN7ZAlfmGN5vyIXKEP4J_image.png?format=webp)
We added the 'Language' property as a mapping property and selected the right template for the English language. Now the email node will send an email in English if the language is selected in the process property field.
Attachment property This setting allows you to send file attachments with your emails. Here you can select a file-type property of the process. The email node will attach the files that are saved in the chosen property to the sent email.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/0W3eWMyoI2El5Y1T5HsRX_image.png?format=webp)
ļ»æ
You can enable email logging for every 'send transactional email node'
If this option is enabled (This switch also supports computed expressions, but keep in mind that the expression should return TRUE or FALSE at the end), every email that was sent by this node will be recorded in the 'email logs' CMS entity.
ļ»æ
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/74vAOn5YWr0J0lBtt22sY_image.png?format=webp)
This CMS entity has prebuilt metrics that can show you the email status analytics.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/tTQIR87Fa0Jx9M5r2FY9u_image.png?format=webp)
Each log shows the status of the message and the ID of the workflow process and the task that sent the email.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/ttfTSr5DDs3AhnwbwvDLb_image.png?format=webp)
Continue on fail
The email node can fail if there are no email destinations (example - the contact has empty email fields). You can turn on the setting that allows the process to continue even if the email node fails.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/AgQttpsHjL_aM5TnM1MWo_image.png?format=webp)
You can also decide whether the output of the node is skipped on the fail. Both switches support computed expressions (expression should return TRUE or FALSE).
Forms
You can add multiple forms to your email.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/vZEbeoy76FUaAj31bzIq__image.png?format=webp)
The settings of the form are the same as in the 'Generate form URL' node.
ļ»æ
Template variable name
In this field, you can set the variable that will be used in the email template.
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/6R7B_A9FfX2KpEanKyHw2_image.png?format=webp)
Example - You can create an unsubscribe button with the link to the unsubscribe form. In the link field of the button settings, you should enter the form variable name in curly brackets (see screenshot)
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/dNbxwILCYbbJcqe0kjcqX_image.png?format=webp)
Send mail history
After the process ends to send mail, you can check it in the history on the side drawer, where:
- Send email destination shows delivery mail status Delivery/ Warning / Bounce (1)
- Email sending details button (2)
ļ»æ
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/ZcX76o2s3ypl9ZivPqOCs_side-drawer-mail-history.png?format=webp)
After clicking on the button (2) the window "Email sending details" will appear, where:
- Click the "Preview" button to see how the email looks in a browser and on a mobile device (1)
- Click the "Details" button (2)
- Recipient(s) to (3)
- Delivery status(4)
- Date and time (5)
- Displays the count of email openings (6)
- Displays the count of clicks on a button in an email (7)
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/_cmRiimniIm4rPvLg--fh_email-details.png?format=webp)
ļ»æ
After clicking on the "details" button the side drawer will open
- Global status section (1)
- Send and Delivery status shows only once (2)
- Open status means that mail was opened (3)
- Click status displayed how many times the user clicked on the link and which link in the mail(4)
- User history section which shows only send and delivery status (5)
![Document image Document image](https://images.archbee.com/5goaGPkGyPYxtK7K75CEC/hLsVJJDCRI9WrTniF7xZq_status-history.png?format=webp)
ļ»æ