Create one SMS Automation Flow

With CloudCX, you can create one SMS flow used for each SMS account.

Create a SMS Flow  

You can create your own SMS Flow for the SMS account.

Step-by-Step Instructions

  1. Go to your system CloudCX installation domain, and log in with the admin account.

  2. From the left navigation menu, go to Automation> Flow Builder  > Flows.

  3. Click on the “+” button to create a new flow.

1-20240918-080453.PNG
  1. Select Wait for incoming SMS message that will trigger your SMS flow. Then click Next.

image-20241101-065045.png
  1. The Flow builder page is displayed with a Start Action. To learn more about these actions, see Flow Actions https://cloudfon.atlassian.net/wiki/spaces/CX/pages/edit-v2/339509254?draftShareId=0f5f148c-9ecd-4478-8517-85f3bde1713e#Flow-Actions

  1. In the Flow builder page, click the flow name on the top right to customize your flow’s information. You can create a name for the flow, and add the description for this flow.

  1. Click the Start action to select a SMS account for this flow. If there is no account can be selected, click Setup a SMS Channel Account switch to Inbox > Channel > SMS to add SMS account first, you can find more details from SMS https://cloudfon.atlassian.net/wiki/x/uADyAg.

  1. You can do one of the following to add actions:

  • Select and drag the flow action from the left Add Step menu to the Flow Builder area and connect them in a guided workflow.

The “!” in Start action, that means the Flow is not completed, you need to search the action with “x errors” and complete that action. When the Flow is completed, the “!” will be disappeared.

  • Click the “+” in the Start action and select an action to add.

  1. When you select an action, you can do the following:

  • Click button to image-20241101-070953.png copy an action.

  • Click button to image-20241101-071117.png delete the action.

  • Click button toimage-20241101-071152.png add a next step action.

  1. You can add flow actions based on your request, you can find more details about flow actions from Flow Actions https://cloudfon.atlassian.net/wiki/spaces/BD/pages/edit-v2/342261762#Flow-Actions.

  2. Now, you can click Publish to publish the Flow. After publishing this flow, this flow will be triggered when a customer sends messages to this SMS account.

Flow Actions

Your Flow building process revolves around the set of actions connected in a guided workflow. Only agents who have permission can use these Actions to build a Flow.

Send Content

Actions

Description

Actions

Description

Send SMS message

This action allows you to send a text message to the visitor.

In Send Content actions, you can do the following:

  • Input a text, the text can add special characters and insert dynamic info.

  • (Optional) Enable the action Wait for a response, set the timeout duration for this interactive action, and select or create a variable for customer’s response.

Flow Operations

Actions

Description

Actions

Description

Reassign Ticket

This action allows you to reassign the ticket to a specific agent, chat queue, or reassign the ticket based on the Inbox's routing rules.

Branch

This action allows you to set specific user paths for different conditional steps in the flow.

Date/Time

This action allows you to control flows based on time and date.

In Flow Operations actions, you can do the following:

  • Reassign Ticket:

    • Reassign the ticket to a specific agent, chat queue, or reassign the ticket based on the Inbox's routing rules.

  • Branch:

    • Click Add new branch to enter the new branch edit page.

    • Define the logical expression, you can use meet allmeet any, or use logic expression to trigger the branch.

    • Click button image-20241101-071953.png to add a condition for the branch to trigger.

If you select “use logic expression” to set routing rules, please note:

  1. Conditions need to be added before input expression, otherwise the system will prompt “Invalid logical expression.”

  2. The parentheses must come in pairs and be written as half-width.

  3. Or, And are not case sensitive. Space should be added before and after.

  4. The precedence of logical operators in order from highest to lowest is: (), And, Or.

  5. The number used in the expression must exist in the identifier number list.

  6. If you have 5 conditions, you can use Expression like (1 or 2 or 3) and (4 and 5). This expression means the branch will be triggered when any of the 1 to 3 conditions is met as well as condition 4 and condition 5 are met. The number here is the condition identifier number.

  • Date/Time:

    • Select a Timezone for this SMS flow.

    • Click Add new branch to enter the new branch edit page.

    • Fill in a name in Condition Name.

    • Select Within or not for the below data and time.

    • Configure the time, weekday and date. If you don’t configure any data in time, weekday and date, the time in this condition is Always.

    • (Optional) Click New OR Rule to add a new time in this condition.

    • (Optional) Click Add new branch to add another condition and configure time.

Advanced

Actions

Description

Actions

Description

Set value

This action allows you to set values for Flow Variables, Custom Variables and Pre-chat Fields.

Send an email

This action allows you to send emails. For example, you can send the visitor's information to the company's lead collection email box.

HTTP Request

This action allows you to make an HTTP Request component that includes triggering a webhook and fetching variables.

Webhook

This action allows you to create a webhook request step that notifies the system about events that occur in an external system, and we will generate a URL that accepts POST calls with JSON-formatted payload.

In Advanced actions, you can do the following:

  • Send an email:

    • Configure the pre-defined email, the system will automatically send an email when it gets the visitor’s information.

  • HTTP Request:

    • You can make an HTTP Request component that includes triggering a webhook and fetching variables.

  • Webhook:

    • You can create a webhook request step that notifies the system about events that occur in an external system, and we will generate a URL that accepts POST calls with JSON-formatted payload.