{"id":6397,"date":"2026-05-05T16:43:37","date_gmt":"2026-05-05T14:43:37","guid":{"rendered":"https:\/\/help.ino.cx\/?post_type=ht_kb&#038;p=6397"},"modified":"2026-05-05T16:43:38","modified_gmt":"2026-05-05T14:43:38","slug":"messaging-smart-routing-actions","status":"publish","type":"ht_kb","link":"https:\/\/help.ino.cx\/index.php\/help-center\/messaging-smart-routing-actions\/","title":{"rendered":"Messaging smart routing actions"},"content":{"rendered":"\n<figure class=\"wp-block-image alignright is-resized\"><img decoding=\"async\" src=\"https:\/\/help.ino.cx\/wp-content\/uploads\/2024\/09\/Smart-licence-needed-2.png\" alt=\"Smart licence needed\" style=\"width:250px\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>[Reading time: 17 minutes]<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A&nbsp;<strong>messaging smart routing<\/strong>&nbsp;is built as a tree of&nbsp;<strong>actions<\/strong>. Each action performs a specific task \u2014 sending a message, branching on a value, distributing the interaction, calling a web service, etc. \u2014 and connects to one or more&nbsp;<strong>output branches<\/strong>&nbsp;that determine which action runs next.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"823\" height=\"1024\" src=\"https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-823x1024.png\" alt=\"\" class=\"wp-image-6394\" style=\"width:250px\" srcset=\"https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-823x1024.png 823w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-241x300.png 241w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-768x956.png 768w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-40x50.png 40w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-1235x1536.png 1235w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-48x60.png 48w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0-80x100.png 80w, https:\/\/help.ino.cx\/wp-content\/uploads\/2026\/04\/undraw_too-many-options_lpt0.png 1286w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This article describes&nbsp;<strong>all actions available in a messaging smart routing<\/strong>, grouped by category. For how to create and manage smart routings, see the&nbsp;<em><a href=\"https:\/\/help.ino.cx\/index.php\/help-center\/smart-routing-and-versions-messaging\/\" target=\"_blank\" rel=\"noreferrer noopener\">Messaging smart routings<\/a><\/em>&nbsp;article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A&nbsp;<strong>Smart<\/strong>&nbsp;license.<\/li>\n\n\n\n<li>Access to the&nbsp;<strong>Maker<\/strong>.<\/li>\n\n\n\n<li>A messaging smart routing in&nbsp;<strong>development<\/strong>&nbsp;(a production version cannot be edited).<\/li>\n\n\n\n<li>Depending on the actions used:&nbsp;<strong>value tables<\/strong>,&nbsp;<strong>variables<\/strong>,&nbsp;<strong>distribution queues<\/strong>,&nbsp;<strong>calendars<\/strong>,&nbsp;<strong>databases<\/strong>,&nbsp;<strong>CRM cards<\/strong>,&nbsp;<strong>web services<\/strong>,&nbsp;<strong>email\/SMS templates<\/strong>, etc. pre-configured.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Common concepts<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Output branches<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Each action has one or more&nbsp;<strong>output branches<\/strong>&nbsp;(links). After the action runs, the smart routing continues along the branch matching the action&#8217;s result. The most frequent labels shown in the Maker are:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-left\" data-align=\"left\">Label<\/th><th class=\"has-text-align-left\" data-align=\"left\">Meaning<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>OK<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">The action succeeded.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Error<\/strong>&nbsp;\/&nbsp;<strong>Not OK<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">The action failed or returned a negative result.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Reference not found<\/strong>&nbsp;\/&nbsp;<strong>Not found<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">A referenced item (queue, card, template, entry\u2026) could not be found.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Response time exceeded<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">The customer did not respond within the allotted time.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>Link 1 \u2026 Link 10<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">Numbered branches used for multi-choice or load-sharing actions.<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>By default<\/strong><\/td><td class=\"has-text-align-left\" data-align=\"left\">Fallback branch when no other condition matches.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">I know \/ I want<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Many actions offer an&nbsp;<strong>I know<\/strong>&nbsp;selector (sometimes labelled&nbsp;<strong>I want<\/strong>) 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:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For a queue:&nbsp;<em>the queue<\/em>&nbsp;or&nbsp;<em>the queue reference<\/em>.<\/li>\n\n\n\n<li>For a calendar:&nbsp;<em>the schedule<\/em>&nbsp;or&nbsp;<em>the schedule reference<\/em>.<\/li>\n\n\n\n<li>For an email template:&nbsp;<em>the email template<\/em>&nbsp;or&nbsp;<em>the email template reference<\/em>.<\/li>\n\n\n\n<li>For a smart routing:&nbsp;<em>the smart routing<\/em>&nbsp;or&nbsp;<em>the smart routing reference<\/em>. Etc.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The first option lets you pick the entity directly from a dropdown. The second option lets you provide a&nbsp;<strong>reference code<\/strong>&nbsp;(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 (e.g. assigning to the preferred agent for a user distribution).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Warning:<\/strong>&nbsp;If a referenced entity is deleted or its reference is changed, the action will no longer work.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Variables in text fields<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Text inputs marked as &#8220;magic&#8221; accept dynamic references to flow&nbsp;<strong>variables<\/strong>&nbsp;(e.g. a value captured by a question, a field returned from a database query, a customer property). The variable is resolved at runtime.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Actions and action tree<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1.1. Start<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Entry point of the smart routing. Automatically created when a version is created and cannot be deleted. Every interaction entering the smart routing begins here.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong>&nbsp;none.<br><strong>Output branches:<\/strong>&nbsp;OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.2. Load sharing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The loads (the sum must be equal to 100)<\/strong>: 10 numeric inputs labelled&nbsp;<em>Link load no. 1<\/em>&nbsp;to&nbsp;<em>Link load no. 10<\/em>. The total of all loads must equal 100.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Link 1, Link 2, \u2026 Link 10, No link.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.3. Add a checkpoint<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Tags the interaction with a qualification tag. Useful to mark a specific step in the flow, to filter statistics later, or to trigger conditional logic downstream.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the checkpoint<\/em>&nbsp;(pick from a dropdown) or&nbsp;<em>the checkpoint reference<\/em>&nbsp;(provide the reference code).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Reference not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.4. Pause<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Holds the flow for a configured duration before continuing to the next action.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Pause time (sec)<\/strong>: duration in seconds.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.5. Node<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong>&nbsp;none.<br><strong>Output branches:<\/strong>&nbsp;OK.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Messaging<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">2.1. Simple message<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sends a one-way text message to the customer on the current messaging channel. No response is expected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Message<\/strong>: text content of the message (variables can be injected).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2.2. Message awaiting response<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sends a welcome message followed by one or more&nbsp;<strong>questions<\/strong>. Each answer is validated against the expected type and stored in a flow variable. If the customer&#8217;s answer is invalid, a default error message is sent and the question is asked again, up to the configured limit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Message<\/strong>: welcome text sent before the first question.<\/li>\n\n\n\n<li><strong>Maximum response wait time (sec)<\/strong>: between 30 and 10,800 seconds (3 hours).<\/li>\n\n\n\n<li><strong>Maximum number of response attempts<\/strong>: between 1 and 10.<\/li>\n\n\n\n<li><strong>Default error message<\/strong>: sent when the customer&#8217;s answer fails validation.<\/li>\n\n\n\n<li><strong>Question<\/strong>&nbsp;(1 to 10), each with:\n<ul class=\"wp-block-list\">\n<li><strong>Question content<\/strong>: the question text.<\/li>\n\n\n\n<li><strong>Variable type<\/strong>: Number, Email, Date, Long text (10,000 characters), Image, Phone.<\/li>\n\n\n\n<li><strong>Variable<\/strong>&nbsp;and&nbsp;<strong>Field<\/strong>: target variable and field where the validated answer is stored.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, Maximum number of attempts reached.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Note:<\/strong>&nbsp;Validation rules \u2014 Number must be a valid numeric value, Phone is normalized to E.164, Email must follow the email format, Date must be a valid date, Image must be a valid image URL\/MIME type on the channel.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2.3. Message with choice<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sends a message accompanied by quick-reply buttons and waits for the customer to pick one. Each reply is linked to its own branch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Message<\/strong>: prompt sent before the buttons.<\/li>\n\n\n\n<li><strong>Maximum response wait time (sec)<\/strong>: between 30 and 10,800 seconds.<\/li>\n\n\n\n<li><strong>Select responses<\/strong>&nbsp;(1 to 10): each button has a&nbsp;<strong>Response content<\/strong>&nbsp;and is associated to its own output branch (Link 1 \u2026 Link 10).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Link 1, Link 2, \u2026 Link 10, Error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Note (WhatsApp):<\/strong>&nbsp;quick-reply buttons must exactly match an approved WhatsApp template declared in the Business Solution Partner. A mismatch prevents the buttons from being rendered.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Sending<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">3.1. Send an email<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sends a templated email from within the messaging flow. The template can be linked to the interaction (for tracking) or sent as a basic email.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the email template<\/em>&nbsp;or&nbsp;<em>the email template reference<\/em>.<\/li>\n\n\n\n<li><strong>Email template<\/strong>&nbsp;(or template reference). When a template is selected, its&nbsp;<strong>template variables<\/strong>&nbsp;appear and must be filled in.<\/li>\n\n\n\n<li><strong>Type<\/strong>:&nbsp;<em>Outgoing interaction<\/em>&nbsp;(saves the send as an outgoing interaction) or&nbsp;<em>Basic send<\/em>&nbsp;(no outgoing interaction created).<\/li>\n\n\n\n<li>If&nbsp;<em>Outgoing interaction<\/em>:&nbsp;<strong>Distribution queue<\/strong>&nbsp;(sender context).<\/li>\n\n\n\n<li>If&nbsp;<em>Basic send<\/em>:&nbsp;<strong>Mailbox<\/strong>&nbsp;(sender context).<\/li>\n\n\n\n<li><strong>TO<\/strong>,&nbsp;<strong>CC<\/strong>,&nbsp;<strong>BCC<\/strong>: recipients (emails or variables).<\/li>\n\n\n\n<li><strong>Subject<\/strong>: overrides the template&#8217;s default subject if provided.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Partially sent, Reference not found, Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3.2. Send a SMS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sends a templated SMS to the specified recipient.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the SMS template<\/em>&nbsp;or&nbsp;<em>the SMS template reference<\/em>.<\/li>\n\n\n\n<li><strong>SMS template<\/strong>&nbsp;(or template reference). When a template is selected, its&nbsp;<strong>template variables<\/strong>&nbsp;appear and must be filled in.<\/li>\n\n\n\n<li><strong>Content<\/strong>: optional text that overrides the SMS template content.<\/li>\n\n\n\n<li><strong>Type<\/strong>:&nbsp;<em>Outgoing interaction<\/em>&nbsp;or&nbsp;<em>Basic SMS send<\/em>.<\/li>\n\n\n\n<li><strong>SMS number<\/strong>: sender number.<\/li>\n\n\n\n<li><strong>Recipient<\/strong>: recipient phone number (variable supported).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, Not mobile, Reference not found.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. Distribution<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">4.1. Distribution to queue<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Routes the interaction to an ACD distribution queue (or queue group) so that an agent can take it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Distribution to<\/strong>:&nbsp;<em>Queue<\/em>&nbsp;or&nbsp;<em>Queue group<\/em>.<\/li>\n\n\n\n<li><strong>I know<\/strong>:\n<ul class=\"wp-block-list\">\n<li>For a queue:&nbsp;<em>the queue<\/em>&nbsp;or&nbsp;<em>the queue reference<\/em>.<\/li>\n\n\n\n<li>For a queue group:&nbsp;<em>the distribution group<\/em>&nbsp;or&nbsp;<em>the distribution group reference<\/em>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Prioritize<\/strong>: if enabled, the interaction is placed first in the queue.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Processed, Unprocessed, Reference not found, Overflow &#8211; No user, Overflow &#8211; Maximum estimated waiting time, Overflow &#8211; Maximum number of waiting interactions, Overflow, Dissuasion &#8211; Maximum wait time reached, Dissuasion &#8211; By the user, Dissuasion (all types).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4.2. Distribution to a smart routing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Hands the interaction off to another messaging smart routing. The target smart routing picks up processing from its Start action.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the smart routing<\/em>&nbsp;or&nbsp;<em>the smart routing reference<\/em>. The target smart routing must use the same flow type and not be an end-of-interaction smart routing.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Not found, Maximum number of distributions to a smart routing reached.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4.3. Distribution to a user<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Assigns the interaction directly to a specific user \/ agent, bypassing the queue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the user<\/em>,&nbsp;<em>the user reference<\/em>, or&nbsp;<em>I want to assign to the preferred agent<\/em>.<\/li>\n\n\n\n<li>If&nbsp;<em>the user<\/em>: pick an active user from the dropdown.<\/li>\n\n\n\n<li>If&nbsp;<em>the user reference<\/em>: provide the user reference code.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, No response, Reference not found.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Cases &amp; CRM<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">5.1. Associate the interaction with a case<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieves an existing case using its reference and attaches it to the current interaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Reference of the case with which the interaction is associated<\/strong>: lookup value (variable supported).&nbsp;<em>If the reference is not entered, the last case associated with this customer (out of the last 3) will be selected.<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.2. Dissociate the case from the interaction<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Detaches the case currently linked to the interaction. Useful when re-qualifying mid-flow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong>&nbsp;none.<br><strong>Output branches:<\/strong>&nbsp;OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.3. Create a new case and associate it with the interaction<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Creates a new case of a given type and immediately attaches it to the interaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>New case title<\/strong>&nbsp;(variable supported).<\/li>\n\n\n\n<li><strong>I know<\/strong>:&nbsp;<em>the case type<\/em>&nbsp;or&nbsp;<em>the case type reference<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.4. Modify a case<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Updates fields of an existing case identified by its reference.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Case reference<\/strong>: lookup value (variable supported).&nbsp;<em>If no value is entered, the case linked to the workflow will be used.<\/em><\/li>\n\n\n\n<li><strong>Field 1 \u2026 Field N<\/strong>&nbsp;(repeatable): each field combines a&nbsp;<strong>Case fields<\/strong>&nbsp;selector and a&nbsp;<strong>New value<\/strong>&nbsp;input.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.5. Associate the interaction with a CRM card<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Searches for a customer-contact CRM card using field-based search assertions. The matching card is linked to the interaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CRM in which to search for the card<\/strong>: target customer-contact directory.<\/li>\n\n\n\n<li><strong>Create a new file if not found<\/strong>: optional toggle (disabled for integration-backed CRMs).<\/li>\n\n\n\n<li><strong>Confirm the test if<\/strong>:&nbsp;<em>all the following assertions<\/em>&nbsp;(AND) or&nbsp;<em>at least one of the following assertions<\/em>&nbsp;(OR).<\/li>\n\n\n\n<li><strong>Search assertions<\/strong>: list of&nbsp;<em>CRM card field<\/em>&nbsp;+&nbsp;<em>value<\/em>, up to the configured maximum.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not OK, Not found, By default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.6. Create a CRM card<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Creates a new customer-contact CRM card.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CRM in which to search for the card<\/strong>: target directory.<\/li>\n\n\n\n<li><strong>CRM card fields<\/strong>: list of&nbsp;<em>CRM field<\/em>&nbsp;+&nbsp;<em>value<\/em>&nbsp;(up to the configured maximum).<\/li>\n\n\n\n<li><strong>Associate the CRM card with the interaction<\/strong>: toggle to attach the newly created card to the current interaction.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.7. Associate the interaction with a CRM V2 card<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieves a card via a configured CRM V2 scenario and attaches it to the interaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CRM in which to search for the card<\/strong>.<\/li>\n\n\n\n<li><strong>CRM scenario<\/strong>&nbsp;(filtered by the chosen CRM). If a default scenario exists, it can be selected.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not OK, Not found, By default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.8. Create a CRM V2 card<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Creates a new CRM V2 card for a given CRM and CRM object.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CRM<\/strong>&nbsp;and&nbsp;<strong>CRM object<\/strong>.<\/li>\n\n\n\n<li><strong>CRM card fields<\/strong>: list of&nbsp;<em>CRM field<\/em>&nbsp;+&nbsp;<em>value<\/em>&nbsp;(up to the configured maximum).<\/li>\n\n\n\n<li><strong>Associate the CRM card with the interaction<\/strong>: toggle (only shown for smart routing actions).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5.9. Create a task<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Creates a task linked to the interaction, with configurable start and end dates. If the task type is Salesforce, the Salesforce ID is stored in a variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Task name<\/strong>&nbsp;(variable supported).<\/li>\n\n\n\n<li><strong>Task category<\/strong>.<\/li>\n\n\n\n<li><strong>Task kind<\/strong>. If Salesforce:&nbsp;<strong>Variable containing the Salesforce Query ID<\/strong>&nbsp;(variable + field).<\/li>\n\n\n\n<li><strong>Date to start the task<\/strong>:&nbsp;<em>Now<\/em>,&nbsp;<em>At a later date<\/em>, or&nbsp;<em>No start date<\/em>.<\/li>\n\n\n\n<li>If&nbsp;<em>At a later date<\/em>:&nbsp;<strong>Time interval<\/strong>&nbsp;(numeric value) + interval kind (<em>Hours<\/em>,&nbsp;<em>Days<\/em>,&nbsp;<em>Weeks<\/em>,&nbsp;<em>Months<\/em>).<\/li>\n\n\n\n<li><strong>Date on which the task must end<\/strong>:&nbsp;<em>End postponed<\/em>&nbsp;or&nbsp;<em>No end date<\/em>&nbsp;(no&nbsp;<em>Now<\/em>&nbsp;option).<\/li>\n\n\n\n<li>If&nbsp;<em>End postponed<\/em>: same time interval \/ kind as above.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Data<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">6.1. Assign values to variables<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Writes one or more values into flow variables for later use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Variable 1 \u2026 Variable N<\/strong>&nbsp;(repeatable). Each block contains a&nbsp;<strong>Variable<\/strong>&nbsp;+&nbsp;<strong>Field<\/strong>&nbsp;selector and a&nbsp;<strong>New value<\/strong>&nbsp;input (variable references supported).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.2. Test a value(s)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Evaluates one or more conditions on variables and branches accordingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Confirm the test if<\/strong>:&nbsp;<em>all the following conditions are valid<\/em>&nbsp;(AND) or&nbsp;<em>at least one of the following conditions is valid<\/em>&nbsp;(OR).<\/li>\n\n\n\n<li><strong>Condition 1 \u2026 Condition N<\/strong>&nbsp;(repeatable). Each block contains:\n<ul class=\"wp-block-list\">\n<li><strong>Variable<\/strong>: a magic input referencing the value to test.<\/li>\n\n\n\n<li><strong>Operator<\/strong>: comparison operator (=, \u2260, \u2265, \u2264, contains, starts with, ends with,&nbsp;<em>Exists<\/em>,&nbsp;<em>Does not exist<\/em>,&nbsp;<em>Is empty<\/em>,&nbsp;<em>Is true<\/em>,&nbsp;<em>Is false<\/em>,&nbsp;<em>Is a date<\/em>,&nbsp;<em>Is the morning<\/em>,&nbsp;<em>Is the afternoon<\/em>,&nbsp;<em>Is the weekend<\/em>,&nbsp;<em>Is an odd week<\/em>,&nbsp;<em>Is an even week<\/em>,&nbsp;<em>Regular expression<\/em>).<\/li>\n\n\n\n<li><strong>Value<\/strong>: the comparison value (hidden for unary operators such as&nbsp;<em>Exists<\/em>,&nbsp;<em>Is empty<\/em>, etc.).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Yes, No, Error.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.3. Values table<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the values table<\/em>&nbsp;or&nbsp;<em>the values table reference<\/em>.<\/li>\n\n\n\n<li><strong>Correspondence reference<\/strong>: the lookup value (variable supported).<\/li>\n\n\n\n<li><strong>Variable in which to store the corresponding value<\/strong>: target&nbsp;<strong>Variable<\/strong>&nbsp;+&nbsp;<strong>Field<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Reference not found, No value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.4. Fill in the variables from a database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Queries a custom database and stores retrieved field values into flow variables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database<\/strong>.<\/li>\n\n\n\n<li><strong>Select a conforming database entry<\/strong>:&nbsp;<em>all the following assertions<\/em>&nbsp;(AND) or&nbsp;<em>at least one of the following assertions<\/em>&nbsp;(OR).<\/li>\n\n\n\n<li><strong>Search assertions<\/strong>: list of&nbsp;<em>Database column<\/em>&nbsp;+&nbsp;<em>value<\/em>&nbsp;(LIST fields use the proposal list).<\/li>\n\n\n\n<li><strong>Variable(s) in which to store the search result<\/strong>: list of&nbsp;<em>Database column<\/em>&nbsp;\u2192&nbsp;<em>Variable<\/em>&nbsp;+&nbsp;<em>Field<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.5. Save values to a database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inserts a new row into a custom database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database<\/strong>.<\/li>\n\n\n\n<li><strong>Fields<\/strong>: list of&nbsp;<em>Database field<\/em>&nbsp;+&nbsp;<em>value<\/em>. Required fields are added automatically; LIST fields use the proposal list.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.6. Modify the values of a database<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Finds rows in a custom database matching the search assertions and updates selected fields.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Database<\/strong>.<\/li>\n\n\n\n<li><strong>Modify&#8230;<\/strong>:&nbsp;<em>Only the first value found<\/em>&nbsp;or&nbsp;<em>All values found<\/em>.<\/li>\n\n\n\n<li><strong>Search assertions<\/strong>: list of&nbsp;<em>Database column<\/em>&nbsp;+&nbsp;<em>value<\/em>.<\/li>\n\n\n\n<li><strong>Fields to modify<\/strong>: list of&nbsp;<em>Field to modify<\/em>&nbsp;+&nbsp;<em>new value<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Error, Column(s) not found, No value found, No modification.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.7. Date and time (retrieval and calculations)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Reads or computes a date and time value and stores it in a flow variable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Reference the date and time<\/strong>:&nbsp;<em>of the passage in the action<\/em>&nbsp;(now) or&nbsp;<em>from a variable<\/em>&nbsp;(input date).<\/li>\n\n\n\n<li>If&nbsp;<em>from a variable<\/em>:&nbsp;<strong>Variable<\/strong>&nbsp;input.<\/li>\n\n\n\n<li><strong>Operation on the date and time<\/strong>:&nbsp;<em>none<\/em>,&nbsp;<em>add<\/em>,&nbsp;<em>subtract<\/em>, or&nbsp;<em>set to<\/em>.<\/li>\n\n\n\n<li>For&nbsp;<em>add<\/em>&nbsp;\/&nbsp;<em>subtract<\/em>:&nbsp;<strong>Days<\/strong>,&nbsp;<strong>Hours<\/strong>,&nbsp;<strong>Minutes<\/strong>,&nbsp;<strong>Seconds<\/strong>.<\/li>\n\n\n\n<li>For&nbsp;<em>set to<\/em>: a toggle&nbsp;<strong>Use the day of the week<\/strong>&nbsp;switches between&nbsp;<strong>Day of the month<\/strong>&nbsp;and&nbsp;<strong>Day of the week<\/strong>, then&nbsp;<strong>Hours<\/strong>,&nbsp;<strong>Minutes<\/strong>,&nbsp;<strong>Seconds<\/strong>.<\/li>\n\n\n\n<li><strong>Result storage<\/strong>: target&nbsp;<strong>Variable<\/strong>&nbsp;+&nbsp;<strong>Field<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not OK.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.8. Check the number of passages<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Increments a counter each time the interaction 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Maximum number of passages<\/strong>&nbsp;<em>of interaction in this action<\/em>: numeric threshold.<\/li>\n\n\n\n<li><strong>Reset the counter to 0<\/strong>&nbsp;<em>when the limit is reached<\/em>: optional toggle.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Less than or equal to, Greater.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6.9. Check Nth contact<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Branches based on how many previous contacts the customer has had over a configurable time window. Useful to recognize returning contacts or escalate repeat callers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Time interval to be counted<\/strong>&nbsp;(radio choices).<\/li>\n\n\n\n<li><strong>Value<\/strong>: number of days \/ period.<\/li>\n\n\n\n<li><strong>Link 1 \u2026 Link 10<\/strong>: 10 ordered numeric thresholds. The interaction takes the branch matching the closest threshold above the counted contacts.&nbsp;<em>It is recommended to order them from smallest to largest (e.g. Link 1: 0, Link 2: 2, Link 3: 5).<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Link 1, Link 2, \u2026 Link 10, No link.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7. Time and dates<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">7.1. Test a schedule<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Branches on whether the configured calendar is currently open or closed. Used to route out-of-hours interactions to a different message or queue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the schedule<\/em>&nbsp;or&nbsp;<em>the schedule reference<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Open, Closed, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7.2. Test if it is an even or odd week<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Branches on whether the current ISO week number is even or odd. Typically used for bi-weekly routing schemes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong>&nbsp;none.<br><strong>Output branches:<\/strong>&nbsp;Even, Uneven.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">8. Interconnection<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">8.1. Web service<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Calls a configured external HTTP web service. In synchronous mode, response fields can be mapped into flow variables for downstream use.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Web service<\/strong>: target definition.<\/li>\n\n\n\n<li><strong>Request settings<\/strong>: input variables passed to the web service (one input per declared variable).<\/li>\n\n\n\n<li><strong>Synchronous<\/strong>: toggle. If enabled, the smart routing waits for the response before continuing.<\/li>\n\n\n\n<li>If synchronous:&nbsp;<strong>Variables in which to store the web service return<\/strong>: list of&nbsp;<em>response field<\/em>&nbsp;\u2192&nbsp;<em>Variable<\/em>&nbsp;+&nbsp;<em>Field<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not OK.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">9. Campaigns<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These actions push a target into an outbound campaign \u2014 useful to schedule an outbound contact back after a messaging conversation. All three campaign actions share the same configuration model.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9.1. Insert a target in a WhatsApp campaign<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inserts a new target into a WhatsApp outbound campaign.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9.2. Insert a target in a voice campaign<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inserts a new target into a voice outbound campaign.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9.3. Insert a target in the SMS campaign<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inserts a new target into an SMS outbound campaign.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters (common):<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:\n<ul class=\"wp-block-list\">\n<li>For a WhatsApp campaign:&nbsp;<em>the WhatsApp campaign<\/em>&nbsp;or&nbsp;<em>the WhatsApp campaign reference<\/em>.<\/li>\n\n\n\n<li>For a voice campaign:&nbsp;<em>the voice campaign<\/em>&nbsp;or&nbsp;<em>the voice campaign reference<\/em>.<\/li>\n\n\n\n<li>For an SMS campaign:&nbsp;<em>the SMS campaign<\/em>&nbsp;or&nbsp;<em>the SMS campaign reference<\/em>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Insert if duplicate<\/strong>: toggle to bypass duplicate detection.<\/li>\n\n\n\n<li><strong>Phone number<\/strong>: target phone number (variable supported).<\/li>\n\n\n\n<li><strong>Start date<\/strong>: optional.&nbsp;<em>If not entered, the current date will be used.<\/em><\/li>\n\n\n\n<li><strong>Priority<\/strong>: variable or numeric value within the configured range.<\/li>\n\n\n\n<li><strong>Campaign target layout<\/strong>&nbsp;(with optional&nbsp;<em>None<\/em>&nbsp;value).<\/li>\n\n\n\n<li><strong>Campaign target fields<\/strong>: dynamic list of fields driven by the chosen layout (typed accordingly).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Reference not found, Error, Duplication, Invalid number.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">10. Survey<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">10.1. Survey<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Attaches a survey to the messaging interaction so that the customer is invited to answer it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>:&nbsp;<em>the survey<\/em>&nbsp;or&nbsp;<em>the survey reference<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Reference not found, Error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">11. Payment and billing<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">11.1. Search for invoice<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Looks up an invoice based on a customer-provided identifier (number, phone, customer ID, etc.) and stores the matching invoice in the&nbsp;<code>bill<\/code>&nbsp;flow variable for downstream actions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>&nbsp;(custom set of options for invoice identification):\n<ul class=\"wp-block-list\">\n<li><em>the invoice number<\/em><\/li>\n\n\n\n<li><em>the invoice mobile phone number<\/em><\/li>\n\n\n\n<li><em>the invoice landline number<\/em><\/li>\n\n\n\n<li><em>the customer number of the invoice<\/em><\/li>\n\n\n\n<li><em>the invoice ID<\/em><\/li>\n\n\n\n<li><em>the email address of the invoice<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Value<\/strong>: the lookup value matching the chosen identifier (variable supported). The label of the field adapts to the selected identifier (e.g.&nbsp;<em>Invoice reference<\/em>,&nbsp;<em>Mobile phone number<\/em>,&nbsp;<em>Customer no.<\/em>, etc.).<\/li>\n\n\n\n<li><strong>If several invoices are found, select<\/strong>:&nbsp;<em>the oldest<\/em>&nbsp;or&nbsp;<em>the most recent<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em><strong>Note:<\/strong>&nbsp;The retrieved invoice is stored in the&nbsp;<code>bill<\/code>&nbsp;variable.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;OK, Not found.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">11.2. Pay an invoice<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">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).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong>:&nbsp;<em>Invoice<\/em>&nbsp;or&nbsp;<em>Amount<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If&nbsp;<strong>Invoice<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>I know<\/strong>: same custom set of options as for&nbsp;<em>Search for invoice<\/em>&nbsp;(invoice number, mobile\/landline phone number, customer number, invoice ID, email).<\/li>\n\n\n\n<li><strong>Value<\/strong>: lookup value (variable supported).<\/li>\n\n\n\n<li><strong>If several invoices are found, select<\/strong>:&nbsp;<em>the oldest<\/em>&nbsp;or&nbsp;<em>the most recent<\/em>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If&nbsp;<strong>Amount<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Amount<\/strong>&nbsp;(max 2 decimals).<\/li>\n\n\n\n<li><strong>Currency<\/strong>.<\/li>\n\n\n\n<li><strong>Invoice name<\/strong>.<\/li>\n\n\n\n<li><strong>Invoice reference<\/strong>.<\/li>\n\n\n\n<li><strong>Customer reference<\/strong>.<\/li>\n\n\n\n<li><strong>Comment<\/strong>.<\/li>\n\n\n\n<li><strong>Customized data<\/strong>.<\/li>\n\n\n\n<li><strong>Mobile phone number<\/strong>&nbsp;(must include the country code).<\/li>\n\n\n\n<li><strong>Fixed phone number<\/strong>.<\/li>\n\n\n\n<li><strong>Email<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Common to both types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Payment module<\/strong>&nbsp;(filtered to internal, active or sandbox modules).<\/li>\n\n\n\n<li><strong>Mode<\/strong>:&nbsp;<em>SMS<\/em>,&nbsp;<em>Email<\/em>, or&nbsp;<em>Smart routing<\/em>&nbsp;(Smart routing mode only available for Ino Pay payment modules).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output branches:<\/strong>&nbsp;Payment stopped, Bank transfer error, Invoice not found, Fraudulent payment, Failed payment, Payment error, Payment successful, Notification successfully sent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Reading time: 17 minutes] Overview A&nbsp;messaging smart routing&nbsp;is built as a tree of&nbsp;actions. Each action performs a specific task \u2014 sending a message, branching on a value, distributing the interaction, calling a web service, etc. \u2014 and connects to one or more&nbsp;output branches&nbsp;that determine which action runs next. This article&#8230;<\/p>\n","protected":false},"author":5,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[107],"ht-kb-tag":[123],"class_list":["post-6397","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-configuring","ht_kb_tag-smart-routing"],"_links":{"self":[{"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb\/6397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/comments?post=6397"}],"version-history":[{"count":7,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb\/6397\/revisions"}],"predecessor-version":[{"id":6437,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb\/6397\/revisions\/6437"}],"wp:attachment":[{"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/media?parent=6397"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb-category?post=6397"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.ino.cx\/index.php\/wp-json\/wp\/v2\/ht-kb-tag?post=6397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}