By creating a flow for your Digital Engagement channels, you will be able to make and configure all your routing rules, from a single location.
- Creating Incoming Message Studio Flows
- Bringing Context Variables to Flows
- Creating your Studio Flow
- Studio Section
- Available Studio Components
- Virtual Agent Integration
- Preferences Tab
- Exits Tab
- Use Cases of Connecting Studio with Channel Touchpoints: Chat, Email and SMS
- Additional Resources
Creating Incoming Message Studio Flows
The new “Incoming Message” trigger allows you to create flows that begin when the contact sends a new message through one of the following channels:
- Social Messaging.
- Digital Connect channels.
The same Studio flow can be used by all messaging channels.
Decide the recipient of the conversation and what should happen if there are no Agents available at that time so that no message goes unanswered.
Bringing Context Variables to Flows
The “Incoming Message” trigger type allows you to bring context coming from Chat, SMS, and Email.
- For Chat, you can import information about the website URL, the visitor’s name, Email address, and the issue for the contact, among others.
- For Email, you can route based on subject, CC emails, or FROM and destination emails.
- SMS allows you to route based on the phone number selected.
Note: The following features are not available, at this time:
- Send attachments and/or images in Automated Messages.
- Change the text format for Automated Messages.
- More flexibility in Studio:
- Bring connections and functions.
- Automated Message naming.
- Ability to show the estimated waiting time on the chat.
- Routing to specific Agents or attributes.
Creating your Studio Flow
After Talkdesk Digital Engagement is activated in your account, you will be able to create “Incoming Message” studio flows. All created “Incoming Message” flows will be listed on the Studio page. There is no maximum limit for how many Studio flows you can create.
For detailed steps on how to create your Studio flow, please visit this section of our Knowledge Base.
Studio arguments are composed of the information that can be brought from the initial screen on the chat widget. If you request the visitors’ phone number on the initial screen, that argument can be added to the Studio flow and map it to a variable. That variable can then be used during the flow.
In the argument’s “Name”  field, copy the value that shows up on the Studio Argument’s “Appearance” tab.
On the variable name, the following naming should be applied:
- field_name1 > contact_name
- field_number1 > contact_number
- field_email1 > contact_email
For any other argument, any other variable name can be applied.
Here, you can define the context that appears to Agents. By selecting “contact name” , Agents will see the visitor’s selected name, instead of the number. By selecting “contact number” , the Agent can directly call the visitor (by using the Click-to-Call feature) if the contact number is provided.
Available Studio Components
Incoming message (Initial Step)
The first step for any “Incoming message” Studio flow. It will feature:
Direct a messaging conversation to one of several exits. Each exit has its own condition(s).
You can define holidays, route calls accordingly, and also select a specific routing for the days when the expected number of calls differs significantly (e.g., Black Friday).
Define the time-based rules to allow routing according to time ranges or to any day(s) of the week.
This component enables you to split your incoming message conversation into routes of your choice
Choose how to assign Agents or ring groups to a given interaction and how the dialing process should take place.
Write a message to be automatically displayed to the website visitor on the widget
Send the conversation directly to the Inbox of the selected Queues. “Send to Inbox” can be used to guarantee that no conversation gets lost if no Agents are available at that time.
The function of this component is to terminate the flow execution.
Define which Queue(s) should be considered in Reporting
“Assign Agents to Message” Component
Similar to the “Assign and dial” component, on “Assign agents to message” you can decide how to assign Agents or ring groups to a given conversation.
In the “Offer type” section, you can select if the conversation is to be auto accepted  (goes directly to the Agent’s “Assigned to you” tab, if the Agent is available) or manually accepted  (Agent sees an offer screen and decides to accept or reject the conversation).
In “Assignment Parameters” you can choose the list of ring groups/queues  to offer the conversation to or search/select ring groups  through variables.
Below, select the statuses of the Agents, which can be:
- “Only available” .
- “Consider any status” .
In “Priority” , define the priority of this component, when compared to the other “Assign agents to message” components you have already configured.
You can also set the “Maximum waiting time” (in seconds)  for the system to offer the incoming message to an Agent.
Note: If the threshold is reached, the conversation will need to be routed to another component.
The “Assign agents to message” component determines the assignment of Agents to specific message exits.
- “No match found”: Select the list of ring groups to offer the incoming conversation to.
- “Chat Started”: To determine what happens once the conversation is assigned to an agent.
- “Maximum waiting time reached”: Decide how important the component you are configuring is, in regard to other configured components.
- “No answer”: The time threshold to find at least one available Agent. If the threshold is reached, the incoming conversation needs to be routed to another component.
- “Error handling”: Decide what happens if the component experiences an unexpected failure.
Note: For more information on this section, please refer to the "Error handling" documentation.
“Automated Message” Component
This component allows you to leave an automated message for the Contact Person at any point of the Studio flow. You can send an automated message after checking if you are out of business hours, after trying to assign to an Agent, and checking the page where the visitor is, among other scenarios.
The “Compose message” field is where you can type the message to be shown in the conversation.
The image above is an example of how a message appears on the contact person’s side. Once the visitor sends a first message on the widget, the automated message appears.
Send to Inbox Component
This component will allow you to send the conversation directly to the Inbox of the selected Queues. “Send to Inbox” can be used in order to guarantee that no conversation gets lost, if no Agents are available to accept the conversation at that time.
Note: The “Send to Inbox” component was added to Studio, specifically to enable Agents to receive messages directly from Inbox and ensure that there are no lost or unanswered conversations.
This component will allow you to define which Queue(s) should be considered in Reporting.
Note: This component was only available for the Voice channel and is now also available for Digital channels.
Virtual Agent Integration
The Virtual Agent component allows Administrators to make use of a virtual agent to assist and fully handle customer interactions via Chat. This component needs to be selected and configured like other components.
Note: This component can only be used for Chat, SMS, Whatsapp and Digital Connect. It is still not available for other digital channels. For more information, please refer to the Studio Guide.
- “Profiles”: Here you can select the specific Virtual Agent that you would like to use.
- “Are Agents Available”: You can pass contextual business hours' information to the Virtual Agent and establish whether an escalation to an Agent is available or not.
- “Variables”: Studio can receive information from the Virtual Agent once an escalation is made. You can define this information in the “Variables“ section.
- “Successful Exit”: Define where the Studio flow continues, after Virtual Agent successfully interacts with the visitor.
- “Escalation Exit”: If the Virtual Agent cannot solve the customer's issue, it can escalate the conversation to an Agent.
- “Error”: In the case of an error within the Virtual Agent itself, an error exit can be defined.
- “Error handling”: If there is an error related to the Studio component, an exit option can be defined. By default, it uses the one selected in the “Error” section. But another exit can be defined.
The image below is an example of the Virtual Agent interacting with a customer in the Chat widget
Use Cases of Connecting Studio with Channel Touchpoints: Chat, Email and SMS
Within the Chat channel’s page, click the Edit button to access the “Edit Mode” tab.
Here, you can configure the chat touchpoint and are able to switch the Studio flow as many times as you want, without having to change the website’s snippet.
Note: When changing the “Domain”  field, we recommend copying the chat snippet onto your website again.
You’ll also find the link to Configure a Studio flow . Follow this link to open Studio and create a Message Studio flow. The “Studio flow”  dropdown features all the published Incoming Message studio flows on your account. Select the one that you want to associate with the defined touchpoint.
On the Channels app, click Email channel > Edit to connect the Studio flow to an email touchpoint. Here you can configure your Email touchpoint and define the “Routing type” .
The “Connect Studio flow”  dropdown features all the published incoming Message studio flows on your account. Select the one that you want to associate with the defined touchpoint. Below is the link to create a Studio flow . Follow this link to open Studio and create a Message Studio flow.
On the Channels app, click SMS > Edit. Here is where you can configure your Email touchpoint and define the “Routing type” , in the dropdown menu.
The “Connected Studio flow”  dropdown features all the published incoming Message studio flows on your account. Select the one that you want to associate with the defined touchpoint.
Below is the link to create a Studio flow. Follow this link to open Studio and create a Message Studio flow.
All conversations that come through the Incoming Message Studio flows will have a certain cost associated with them. At this time, all Agents have a Capacity of 100 points. Each incoming message that the Agent accepts, or that is directly assigned from the Incoming Message flows, will reduce this total Capacity.
Each channel will have different costs by default (which can be configured in the Channels application):
For example, if the Agent receives 1 voice call, he/she can still receive another Chat (51+30=81) and still have 19 remaining points of Capacity. More SMS or Emails can be received with these available points, but not another Chat.
The Agent can still initiate outbound conversations or assign new conversations from the Inbox, since these actions do not cost any points, at this time.
Note: Agent Capacity is only available for the Push model (offer screen or direct assign coming from an Incoming Message flow). Wherever the Agent sends a conversation back to the queue or transfers it to another queue, the conversation will be converted into Pull Model, and therefore it will lose the original cost.
Use Case of an Incoming Message Studio Flow for Chat Channel
- Initial Step : Flow begins when the visitor sends a first message on the widget.
- Calendar Based Rules : After the visitor’s initial message, the flow will check if the day is signaled as a holiday. If so, it will send an automated message informing that no Agents are available due to the holiday. Otherwise, the flow will check for time-based rules.
- Time Based Rules : After checking if it’s a holiday, the flow will verify if it is inside business hours with the “Time Based Rules” component. When it is outside business hours, the flow will go to the “Automated message”.
- Conditional Statement : When the “Assign agents to message” component matches with an Agent, the flow will go to a Conditional Statement. Here, it will verify the website URL of the page where the visitor is:
- If the visitor is on the home page, the following automated message will be sent: “Welcome to our website, an Agent will reply to you shortly”.
- In case the visitor is on the feature page, the following automated message will be sent: “Welcome to our feature page! Would you like to know more about any particular feature? An Agent will reply to you shortly”.
- Assign agents to message : When a chat message arrives within business hours and not on a holiday, the flow will point to the “Assign agents to message” component. It will attempt to match with a ring group, and in case it can find an Agent, it will go to a Conditional Statement. If no Agent is matched, it will go to an automated message informing that no Agents are currently available.
What to do in case of an outage?
We recommend our customers to manually change to Basic Routing (Queue/Pull Model) when there is an outage on Advanced Routing (Studio/Workflow).
What if I want to use only one Studio flow for all digital conversations, but I want to use Virtual Agent for Chat?
You can duplicate the flow (one with the VA component and another without the VA component) or use a conditional statement within the flow. With the conditional statement, you can go to different branches based on the channel.