A studio flow can be triggered by an incoming message from any channel.
Through the incoming message flow, the inbound conversation can be routed to a specific agent or ring groups based on the criteria of the conversation.
Follow the steps below to assign a chat conversation by the type of inquiry topics.
- Click “Create flow” on the Flow Manager page, and on the new window that is displayed.
- Select Empty flow , followed by Next .
- Choose Incoming message  and then Next .
- On the next screen, enter a name (as shown in the example below) and, if necessary, a description of the flow.
- The contact person can input the value of predefined fields in the chat widget's initial screen.
- To import the value into the flow, the admin needs to enter the argument name  into the initial step arguments. Then create flow variables  and map them to the argument names.
- In the Preferences tab , add the “channel_type”  or “interaction_id” , if necessary.
- Go to the Exits tab  to add an automated message component. This component will send a message to the contact person informing the message is being handled.
- In the “Automated message” component’s Preference tab , use the “Message” text box to enter the content of the automated message you want to send to the contact person.
- In the Exits tab , add a “Conditional statement” component to decide how the conversation will be assigned based on the topics the contact person selected in the initial screen.
- In the Exits tab  of the “Conditional statement” component, set the conditions regarding the topics.
- As shown in the example below, if the topic contains “swim”, assign it to the “swim agents” (“Assign agents to message” component). If the topic contains “baseball”, assign it to “baseball agents”. Otherwise, assign it as “general queries”.
- In the “swim agents” Preferences tab  of the “Assign agents to message” component, select the “Offer type”, “Assignment Parameters”, “Status of agents”, “Priority” and the “Maximum waiting time”:
- “Offer type” : When Auto accept is selected, the conversation goes to the agent’s “Assigned to you” tab immediately when the assigned agent is available. When Manual accept is selected, when the conversation is assigned to an agent, the agent will have an offer page showing in the Conversations app. The agent could choose to either accept or reject.
- “Assignment Parameters” : There are three assignment types: Ring Groups, Agents, and Attributes. Admins can select to either assign to ring groups, to agents, or to assign based on the attributes.
- “Status of agents" : Only available or consider any status. If consider any status is selected, all matching agents that are not offline will be the assigning candidates.
- “Priority” : Admins can define the priority level for the assigned conversation. The range is from 1 to 10.
- “Maximum waiting time” : Admins can set the assignment maximum waiting time. Once the maximum waiting time is reached, the assignment will stop and go to the “Maximum waiting time reached” exit.
In the “Exits” tab , when there is no match found , or the maximum waiting time has been reached , or there were no answers , it will indicate that at the moment no available “swim agents” can pick up the conversation. Therefore, the “general queries” component was used for these exits (“No match found”, “Maximum waiting time reached” and “No answer”) to assign the second round, to find other available agents to pick up the conversation.
For the “Chat started” exit , we added the “End flow” component.
Repeat the process for the “baseball agents” and for the “general queries” (“Assign agents to message”) component.
In the Exits tab  of the “general queries” component, when the second round assignment failed, an “Automated message” component  was added to warn the contact person that no agents are currently available.
Updated 4 months ago