Talkdesk Live Chat
Integrating Talkdesk as a live chat provider allows your Druid bot to handle initial customer inquiries and, when necessary, transfer the conversation to a human agent within the Talkdesk contact center. This integration ensures that agents have access to chat transcripts and customer context, enabling a more personalized and efficient support experience.
Prerequisites
- You must have an active Talkdesk account with the Digital Connect solution installed.
- Ensure you have the necessary administrative permissions in Talkdesk to generate OAuth credentials and access Touchpoint IDs.
- You have built and published a Druid bot ready for deployment.
Configuring the integration
This section provides instructions for integrating Druid bots with Talkdesk.
Step 1. Create OAuth Client in Talkdesk
In Talkdesk, go to Builder > OAuth Clients and create an OAuth client with the following scopes: digital-connect:read and digital-connect:write. Copy the Client ID and Client Secret as you will need them in the Druid Portal.
Step 2. Create new Touchpoint
To create a new touchpoint for Druid integration, follow these steps in Talkdesk:
- Go to Admin > Channels and click Digital Connect.
- Click Create touchpoint.
- Enter the mandatory details and save it.
- Click on the touchpoint you created and copy the Touchpoint ID as you will need in the Druid Portal.
Step 3. Configure Talkdesk in the Druid Portal
Go to bot details page and click the Live Chat section header. The section expands.
Set the fields as described in the table below:
| Field | Description |
|---|---|
| Live chat provider | Select Talkdesk. |
| API Url |
Enter your Talkdesk API URL (the url you use to access your talkkdesk account). |
| Client Id | Enter the OAuth Client credentials you copied at Step 1. Create OAuth Client in Talkdesk. |
| Client Secret | |
| Touchpoint ID | Enter the value you copied at Step 2. Create new Touchpoint. |
Click Save & Close.
Go to the bot details again, click the Live Chat section and copy the Druid url (webhook). You’ll need this URL when creating a custom integration in Talkdesk.
Configure the Live Chat special flows as needed.
Step 4. Create a custom Talkdesk integration
To create a custom integration, perform the following steps in Talkdesk:
- In Talkdesk, go to Builder > Integrations and create a custom integration as follows:
- Enter a name and description.
- In the Base path field, enter the base domain of the webhook URL you copied from the Druid Portal.
- Save the integration.
- Click the Actions tab and add the following actions:
- conversation_started
- conversation_ended
- message_created
Send the conversation transcript to Talkdesk Agents
To save the conversation transcript and make it available for Talkdesk agents, on the flow that connects the client with the agent, make the following settings:
- On the step where you call the internal action ConnectToHelpdeskAgent(Post Actions section), in the Pre Actions section, call the internal action GetConversationTranscript.
- On the ConnectToHelpdeskAgent internal action add the following:
- Save the step.
{
"SendConversationTranscript": true
}
Send Contact Center Parameters
The table below lists the Contact Center parameters authors can send to Talkdesk.
| Parameter | Data Type | Description |
|---|---|---|
| String | The client's email. | |
| Phone | String | The client's phone number. |
To send Contact Center parameters to Talkdesk, on the ConnectToHelpdeskAgent internal action, provide the desired parameters inside the ContactCenterParameters object in JSON format.
{
"SendConversationTranscript":true,
"ContactCenterParameters":
{
"emailAddress": "[[ChatUser]].Email",
"phone": "[[ChatUser]].Phone"
}
}






