
[Reading time: 17 minutes]
Overview
An email smart routing is built as a tree of actions. Each action performs a specific task — sending a message, transferring the email, branching on a value, distributing the interaction, calling a web service, etc. — and connects to one or more output branches that determine which action runs next.

This article describes all actions available in an email smart routing, grouped by category. For how to create and manage smart routings, see the Email smart routings article.
Prerequisites
- A Smart license.
- Access to the Maker.
- An email smart routing in development (a production version cannot be edited).
- Depending on the actions used: value tables, variables, distribution queues, calendars, databases, CRM cards, web services, email/SMS templates, mailboxes, etc. pre-configured.
Common concepts
Output branches
Each action has one or more output branches (links). After the action runs, the smart routing continues along the branch matching the action’s result. The most frequent labels shown in the Maker are:
| Label | Meaning |
|---|---|
| OK | The action succeeded. |
| Error / Not OK | The action failed or returned a negative result. |
| Reference not found / Not found | A referenced item (queue, card, template, entry…) could not be found. |
| Link 1 … Link 10 | Numbered branches used for multi-choice or load-sharing actions. |
| By default | Fallback branch when no other condition matches. |
I know / I want
Many actions offer an I know selector (sometimes labelled I want) that lets you choose how the target entity is identified. The two options offered are always specific to the entity manipulated by the action. For example:
- For a queue: the queue or the queue reference.
- For a calendar: the schedule or the schedule reference.
- For an email template: the email template or the email template reference.
- For a smart routing: the smart routing or the smart routing reference. Etc.
The first option lets you pick the entity directly from a dropdown. The second option lets you provide a reference code (static or dynamic via a variable), useful when the target depends on a flow variable. A few actions add extra options on top of these two.
Warning: If a referenced entity is deleted or its reference is changed, the action will no longer work.
Variables in text fields
Text inputs marked as “magic” accept dynamic references to flow variables (e.g. a value captured from the email subject/body, a field returned from a database query, a CRM property). The variable is resolved at runtime.
1. Actions and action tree
1.1. Start
Entry point of the smart routing. Automatically created when a version is created and cannot be deleted. Every email entering the smart routing begins here.
Parameters: none.
Output branches: OK.
1.2. Load sharing
Randomly splits incoming traffic across up to 10 branches, according to configurable percentage weights. Useful for A/B testing or progressively rolling out a new flow.
Parameters:
- The loads (the sum must be equal to 100): 10 numeric inputs labelled Link load no. 1 to Link load no. 10. The total of all loads must equal 100.
Output branches: Link 1, Link 2, … Link 10, No link.
1.3. Add a checkpoint
Tags the email with a qualification tag. Useful to mark a specific step in the flow, to filter statistics later, or to trigger conditional logic downstream.
Parameters:
- I know: the checkpoint or the checkpoint reference.
Output branches: OK, Reference not found.
1.4. Pause
Holds the flow for a configured duration before continuing to the next action.
Parameters:
- Pause time (sec): duration in seconds.
Output branches: OK.
1.5. Node
Logical join / grouping point. Lets multiple upstream branches converge into a single downstream flow, or acts as a visual anchor to keep large trees readable.
Parameters: none.
Output branches: OK.
2. Email handling
2.1. Detection of the language
Detects the language of the incoming email (subject and body) and branches accordingly. Useful to route emails to language-specific queues or smart routings.
Parameters: none.
Output branches: Spanish, English, Russian, Arabic, Portuguese, Japanese, French, German, Italian, Turkish, Polish, Ukranian, Croatian, Dutch, By default.
2.2. Test an email priority
Checks the priority flag set on the incoming email and branches accordingly.
Parameters: none.
Output branches: High, Normal, Low, By default.
2.3. Detect keywords
Searches for configured keywords in the email subject and/or body, and branches based on which group of keywords is matched. Each branch has its own list of keywords.
Parameters:
- Search keywords in: The email body, The email subject, or The email subject and body.
- Keywords for link No. 1 … Keywords for link No. 10: list of keywords associated with each output branch. Keywords must be unique across all links.
Output branches: Link 1, Link 2, … Link 10, Not found.
2.4. Transfer the email
Forwards the incoming email to one or more recipients. The transfer can be blind (the recipient does not see that it is a forward) or include forwarding context.
Parameters:
- Mailbox: sender mailbox (with optional None value — if None is selected, the transfer is sent from
no-reply@<app domain>). - Transfer the email without modifying it: toggle. If enabled, no information about the transfer will be added (in the subject or the content).
- TO, CC, BCC: recipients (emails or variables).
Output branches: OK, Not OK.
2.5. Email to a Salesforce Query
Creates or updates a Salesforce Query from the email subject. If the email subject does not contain an identifier of an already-existing Query, a new Salesforce Query is created. The Query identifier is then stored in the variable defined below.
Parameters:
- I know: The CRM (Salesforce-integrated only) or The CRM reference.
- Variable + Field: target variable storing the Salesforce Query ID.
Output branches: OK, Error.
3. Sending
3.1. Send an email
Sends a templated email from within the email flow. The send can be linked to the interaction (for tracking) or sent as a basic email.
Parameters:
- I know: the email template or the email template reference.
- Email template (or template reference). When a template is selected, its template variables appear and must be filled in.
- Type: Outgoing interaction (saves the send as an outgoing interaction) or Basic send (no outgoing interaction created).
- If Outgoing interaction: Distribution queue (sender context).
- If Basic send: Mailbox (sender context).
- TO, CC, BCC: recipients.
- Subject: overrides the template’s default subject if provided.
Output branches: OK, Partially sent, Reference not found, Error.
3.2. Send a SMS
Sends a templated SMS to the specified recipient.
Parameters:
- I know: the SMS template or the SMS template reference.
- SMS template (or template reference). When a template is selected, its template variables appear and must be filled in.
- Content: optional text that overrides the SMS template content.
- Type: Outgoing interaction or Basic SMS send.
- SMS number: sender number.
- Recipient: recipient phone number (variable supported).
Output branches: OK, Error, Not mobile, Reference not found.
4. Distribution
4.1. Distribution to queue
Routes the email to an ACD distribution queue (or queue group) so that an agent can take it.
Parameters:
- Distribution to: Queue or Queue group.
- I know:
- For a queue: the queue or the queue reference.
- For a queue group: the distribution group or the distribution group reference.
- Prioritize: if enabled, the email is placed first in the queue.
Output branches: Processed, Unprocessed, Reference not found, Overflow – No user, Overflow – Maximum estimated waiting time, Overflow – Maximum number of waiting interactions, Overflow, Dissuasion – Maximum wait time reached, Dissuasion – By the user, Dissuasion (all types).
4.2. Distribution to a smart routing
Hands the email off to another email smart routing. The target smart routing picks up processing from its Start action.
Parameters:
- I know: the smart routing or the smart routing reference. The target smart routing must use the same flow type and not be an end-of-interaction smart routing.
Output branches: Not found, Maximum number of distributions to a smart routing reached.
4.3. Distribution to a user
Assigns the email directly to a specific user / agent, bypassing the queue.
Parameters:
- I know: the user, the user reference, or I want to assign to the preferred agent.
Output branches: OK, Error, No response, Reference not found.
5. Cases & CRM
5.1. Associate the interaction with a case
Retrieves an existing case using its reference and attaches it to the current email.
Parameters:
- Reference of the case with which the interaction is associated: lookup value (variable supported). If the reference is not entered, the last case associated with this customer (out of the last 3) will be selected.
Output branches: OK, Not found.
5.2. Dissociate the case from the interaction
Detaches the case currently linked to the email. Useful when re-qualifying mid-flow.
Parameters: none.
Output branches: OK.
5.3. Create a new case and associate it with the interaction
Creates a new case of a given type and immediately attaches it to the email.
Parameters:
- New case title (variable supported).
- I know: the case type or the case type reference.
Output branches: OK, Error, Not found.
5.4. Modify a case
Updates fields of an existing case identified by its reference.
Parameters:
- Case reference: lookup value (variable supported). If no value is entered, the case linked to the workflow will be used.
- Field 1 … Field N (repeatable): each field combines a Case fields selector and a New value input.
Output branches: OK, Error, Not found.
5.5. Associate the interaction with a CRM card
Searches for a customer-contact CRM card using field-based search assertions. The matching card is linked to the email.
Parameters:
- CRM in which to search for the card: target customer-contact directory.
- Create a new file if not found: optional toggle (disabled for integration-backed CRMs).
- Confirm the test if: all the following assertions (AND) or at least one of the following assertions (OR).
- Search assertions: list of CRM card field + value.
Output branches: OK, Not OK, Not found, By default.
5.6. Create a CRM card
Creates a new customer-contact CRM card.
Parameters:
- CRM in which to search for the card.
- CRM card fields: list of CRM field + value.
- Associate the CRM card with the interaction: toggle to attach the newly created card to the current email.
Output branches: OK, Error.
5.7. Associate the interaction with a CRM V2 card
Retrieves a card via a configured CRM V2 scenario and attaches it to the email.
Parameters:
- CRM in which to search for the card.
- CRM scenario (filtered by the chosen CRM). If a default scenario exists, it can be selected.
Output branches: OK, Not OK, Not found, By default.
5.8. Create a CRM V2 card
Creates a new CRM V2 card for a given CRM and CRM object.
Parameters:
- CRM and CRM object.
- CRM card fields: list of CRM field + value.
- Associate the CRM card with the interaction: toggle.
Output branches: OK, Error.
5.9. Create a task
Creates a task linked to the email, with configurable start and end dates. If the task type is Salesforce, the Salesforce ID is stored in a variable.
Parameters:
- Task name (variable supported).
- Task category.
- Task kind. If Salesforce: Variable containing the Salesforce Query ID.
- Date to start the task: Now, At a later date, or No start date.
- If At a later date: Time interval (numeric value) + interval kind (Hours, Days, Weeks, Months).
- Date on which the task must end: End postponed or No end date.
- If End postponed: same time interval / kind as above.
Output branches: OK, Error.
6. Data
6.1. Assign values to variables
Writes one or more values into flow variables for later use.
Parameters:
- Variable 1 … Variable N (repeatable). Each block contains a Variable + Field selector and a New value input.
Output branches: OK, Error.
6.2. Test a value(s)
Evaluates one or more conditions on variables and branches accordingly.
Parameters:
- Confirm the test if: all the following conditions are valid (AND) or at least one of the following conditions is valid (OR).
- Condition 1 … Condition N (repeatable). Each block contains:
- Variable: a magic input referencing the value to test.
- Operator: comparison operator (=, ≠, ≥, ≤, contains, starts with, ends with, Exists, Does not exist, Is empty, Is true, Is false, Is a date, Is the morning, Is the afternoon, Is the weekend, Is an odd week, Is an even week, Regular expression).
- Value: the comparison value (hidden for unary operators such as Exists, Is empty, etc.).
Output branches: Yes, No, Error.
6.3. Values table
Looks up an input value in a values table and stores the returned value into a flow variable. Typically used for translation tables, mapping codes, or routing matrices.
Parameters:
- I know: the values table or the values table reference.
- Correspondence reference: the lookup value (variable supported).
- Variable in which to store the corresponding value: target Variable + Field.
Output branches: OK, Reference not found, No value.
6.4. Fill in the variables from a database
Queries a custom database and stores retrieved field values into flow variables.
Parameters:
- Database.
- Select a conforming database entry: all the following assertions (AND) or at least one of the following assertions (OR).
- Search assertions: list of Database column + value.
- Variable(s) in which to store the search result: list of Database column → Variable + Field.
Output branches: OK, Not found.
6.5. Save values to a database
Inserts a new row into a custom database.
Parameters:
- Database.
- Fields: list of Database field + value. Required fields are added automatically.
Output branches: OK, Not OK.
6.6. Modify the values of a database
Finds rows in a custom database matching the search assertions and updates selected fields.
Parameters:
- Database.
- Modify…: Only the first value found or All values found.
- Search assertions: list of Database column + value.
- Fields to modify: list of Field to modify + new value.
Output branches: OK, Error, Column(s) not found, No value found, No modification.
6.7. Date and time (retrieval and calculations)
Reads or computes a date and time value and stores it in a flow variable.
Parameters:
- Reference the date and time: of the passage in the action (now) or from a variable (input date).
- If from a variable: Variable input.
- Operation on the date and time: none, add, subtract, or set to.
- For add / subtract: Days, Hours, Minutes, Seconds.
- For set to: a toggle Use the day of the week switches between Day of the month and Day of the week, then Hours, Minutes, Seconds.
- Result storage: target Variable + Field.
Output branches: OK, Not OK.
6.8. Check the number of passages
Increments a counter each time the email passes through the action, then branches depending on whether the counter is below or above the configured threshold. Useful for retry loops or capping the number of attempts.
Parameters:
- Maximum number of passages of interaction in this action: numeric threshold.
- Reset the counter to 0 when the limit is reached: optional toggle.
Output branches: Less than or equal to, Greater.
6.9. Check Nth contact
Branches based on how many previous contacts the customer has had over a configurable time window. Useful to recognize returning contacts or escalate repeat senders.
Parameters:
- Time interval to be counted (radio choices).
- Value: number of days / period.
- Link 1 … Link 10: 10 ordered numeric thresholds. The email takes the branch matching the closest threshold above the counted contacts. It is recommended to order them from smallest to largest (e.g. Link 1: 0, Link 2: 2, Link 3: 5).
Output branches: Link 1, Link 2, … Link 10, No link.
7. Time and dates
7.1. Test a schedule
Branches on whether the configured calendar is currently open or closed. Used to route out-of-hours emails to a different message or queue.
Parameters:
- I know: the schedule or the schedule reference.
Output branches: Open, Closed, Not found.
7.2. Test if it is an even or odd week
Branches on whether the current ISO week number is even or odd. Typically used for bi-weekly routing schemes.
Parameters: none.
Output branches: Even, Uneven.
8. Interconnection
8.1. Web service
Calls a configured external HTTP web service. In synchronous mode, response fields can be mapped into flow variables for downstream use.
Parameters:
- Web service: target definition.
- Request settings: input variables passed to the web service.
- Synchronous: toggle. If enabled, the smart routing waits for the response before continuing.
- If synchronous: Variables in which to store the web service return: list of response field → Variable + Field.
Output branches: OK, Not OK.
9. Campaigns
These actions push a target into an outbound campaign — useful to schedule an outbound contact back after an email exchange. All three campaign actions share the same configuration model.
9.1. Insert a target in a WhatsApp campaign
Inserts a new target into a WhatsApp outbound campaign.
9.2. Insert a target in a voice campaign
Inserts a new target into a voice outbound campaign.
9.3. Insert a target in the SMS campaign
Inserts a new target into an SMS outbound campaign.
Parameters (common):
- I know:
- For a WhatsApp campaign: the WhatsApp campaign or the WhatsApp campaign reference.
- For a voice campaign: the voice campaign or the voice campaign reference.
- For an SMS campaign: the SMS campaign or the SMS campaign reference.
- Insert if duplicate: toggle to bypass duplicate detection.
- Phone number: target phone number (variable supported).
- Start date: optional. If not entered, the current date will be used.
- Priority: variable or numeric value within the configured range.
- Campaign target layout (with optional None value).
- Campaign target fields: dynamic list of fields driven by the chosen layout (typed accordingly).
Output branches: OK, Reference not found, Error, Duplication, Invalid number.
10. Survey
10.1. Survey
Attaches a survey to the email so that the customer is invited to answer it.
Parameters:
- I know: the survey or the survey reference.
Output branches: OK, Reference not found, Error.
11. Payment and billing
11.1. Search for invoice
Looks up an invoice based on a customer-provided identifier (number, phone, customer ID, etc.) and stores the matching invoice in the bill flow variable for downstream actions.
Parameters:
- I know (custom set of options for invoice identification):
- the invoice number
- the invoice mobile phone number
- the invoice landline number
- the customer number of the invoice
- the invoice ID
- the email address of the invoice
- Value: the lookup value matching the chosen identifier (variable supported). The label adapts to the selected identifier.
- If several invoices are found, select: the oldest or the most recent.
Note: The retrieved invoice is stored in the bill variable.
Output branches: OK, Not found.
11.2. Pay an invoice
Triggers a payment flow for an existing invoice or for a custom amount, through a configured payment module. Depending on the channel chosen, the customer is invited to pay via SMS link, email link or directly within the smart routing (Ino Pay only).
Parameters:
- Type: Invoice or Amount.
If Invoice:
- I know: same custom set of options as for Search for invoice.
- Value: lookup value (variable supported).
- If several invoices are found, select: the oldest or the most recent.
If Amount:
- Amount (max 2 decimals).
- Currency.
- Invoice name.
- Invoice reference.
- Customer reference.
- Comment.
- Customized data.
- Mobile phone number (must include the country code).
- Fixed phone number.
- Email.
Common to both types:
- Payment module (filtered to internal, active or sandbox modules).
- Mode: SMS, Email, or Smart routing (Smart routing mode only available for Ino Pay payment modules).
Output branches: Payment stopped, Bank transfer error, Invoice not found, Fraudulent payment, Failed payment, Payment error, Payment successful, Notification successfully sent.