Available starting with FlowX.AI 5.5.0The Send Notification action sends emails directly through a configured SMTP connection, without routing through Kafka.
Overview
The Send Notification action enables process nodes to send emails directly through a predefined SMTP connection. It supports two modes:- New email mode — Send a new email to specified recipients
- Reply mode — Reply to an email that triggered the process (using data from an Email Trigger)
Notification templates configured before this feature for Kafka-based sending continue to work without modification.
Prerequisites
Before using the Send Notification action, ensure you have:- An Email Sender data source configured in Integration Designer (or a Default Server configured at the environment level)
- A notification template with Email Server set to Predefined Email Connection
Adding the action
The Send Notification action is available on the following node types: To add the action:- Select a node in your process definition
- Open the Actions tab
- Click Add action
- Set Action type to Send Notification
Configuration
Notification template
Select the notification template to use for the email content.
Only notification templates with Email Server set to Predefined Email Connection appear in this list.
Data mapping
The Data Mapping section contains the email delivery settings, starting with the reply toggle.Toggle this setting to reply to the email that started the process.Default: OFF
When enabled, the reply is sent only to the original sender unless you configure CC or BCC Receivers. The subject is automatically set to
RE: <original email subject>.Reply mode (reply toggle ON)
When Reply to received emails is enabled, the action replies to the email that triggered the current process instance. The email is sent to the original sender, and the subject is automatically prefixed withRE:.
The process variable key that contains the
headerParams object from the original email received through an Email Trigger.Example: ${replyField}The
headerParams object includes the Message-ID and other headers from the original email, which are required to maintain the email conversation thread.The process variable key that resolves to a language code for the notification template.Examples:
en, ro, frOptional file attachments. Enter a file path or process variable key.
The process variable value can be a single file path or an array of file paths.
The recipients for the reply. Typically references the original email sender using a process variable.Example:
${emailMessage.sender}CC recipients for the reply email. Enter emails as arrays or process variables.
If provided, these will be the only CC recipients in the email, replacing any CC recipients from the original email.
BCC recipients for the reply email. Enter emails as arrays or process variables.
If provided, these will be the only BCC recipients in the email.
Map data sent from the process through the template. Use the JSON editor to define key-value pairs matching the data model in your notification template.
New email mode (reply toggle OFF)
When Reply to received emails is turned off, the action sends a new email to the specified recipients.The process variable key that resolves to a language code for the notification template.Examples:
en, ro, frOptional file attachments. Enter a file path or process variable key.
The process variable value can be a single file path or an array of file paths.
The recipients for the email. Enter email addresses separated by commas, or use process variable keys.
CC recipients for the email. Enter emails as arrays or process variables.
BCC recipients for the email. Enter emails as arrays or process variables.
Map data sent from the process through the template. Use the JSON editor to define key-value pairs matching the data model in your notification template.
Example: Reply to a customer email
This example shows a complete flow where an incoming email triggers a process, and the process replies to the sender.Set up the Email Trigger
Configure an Email Trigger data source to monitor incoming emails (for example,
support@company.com).Set up the Email Sender
Configure an Email Sender data source with SMTP credentials for outbound emails.
Create a notification template
Create a notification template for the reply email:
- Set Email Server to Predefined Email Connection
- Set Email Sender to your Email Sender data source
- Design the reply content using the template editor
Design the process
Create a process with:
- A Message Start Event configured with the Email Trigger
- Processing nodes for your business logic (for example, classify the email, look up customer data)
- A node with the Send Notification action configured in reply mode
Configure the Send Notification action
On the appropriate node:
- Set Action type to Send Notification
- Select your notification template
- Toggle Reply to received emails to ON
- Set Reply to Email Header to the process variable containing the original email’s header params (for example,
${replyField}) - Set Receivers to
${emailMessage.sender} - Set Language to the appropriate language code (for example,
en)

