![]() friendly_name as the name of a Workflow.Let's see how to create one next!įinally, we create the Workflow using the following parameters: We have a Workspace, Workers and Task Queues. The function build_client configures and returns a TwilioTaskRouterClient, which is provided by the Twilio Python library. In order to build a client for this API, we need a TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN which you can find on Twilio Console. Activities - Possible states of a Worker.Workflows - Responsible for placing Tasks into Task Queues.Task Queues - Holds Tasks to be consumed by a set of Workers.Workers - The agents responsible for handling Tasks.Tasks - Represents a customer trying to contact an agent.In this Django application we'll do this setup when we start up the app.Ī Workspace is the container element for any TaskRouter application. We can do this in the TaskRouter Console or programmatically using the TaskRouter REST API. In order to instruct TaskRouter to handle the Tasks, we need to configure a Workspace. Allow agents to change their status (Available/Offline) via SMS.Redirect users to a voice mail when no one answers the call.Store missed calls so agents can return the call to customers.Create a Task with the selected product and let TaskRouter handle it.Listen for incoming calls and let the user select a product with the dial pad.Configure a workspace using the Twilio TaskRouter REST API.This is what the application does at a high level: If no one is available our customer's number will be saved so that our agent can call them back. In this example customers would select a product, then be connected to a specialist for that product. In this tutorial we will show how to automate the routing of calls from customers to your support agents. Lifecycle of a Task: Workflows and Assignment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |