How to integrate an external bot with Haptik's Smart Agent Chat?
- Getting Started
- Bot Building
- Smart Agent Chat
- Conversation Design
-
Developer Guides
Code Step Integration Static Step Integration Shopify Integration SETU Integration Exotel Integration CIBIL integration Freshdesk KMS Integration PayU Integration Zendesk Guide Integration Twilio Integration Razorpay Integration LeadSquared Integration USU(Unymira) Integration Helo(VivaConnect) Integration Salesforce KMS Integration Stripe Integration PayPal Integration CleverTap Integration Fynd Integration HubSpot Integration Magento Integration WooCommerce Integration Microsoft Dynamics 365 Integration
- Deployment
- External Agent Tool Setup
- Analytics & Reporting
- Notifications
- Commerce Plus
- Troubleshooting Guides
- Release Notes
Why?
There might be times when there is an existing bot with a flow already built on another platform or through custom code. It is possible to connect this external bot flow to the Haptik tools through the bot builder tool.
Stages to integrate
Using Webhooks
This is a straightforward method where the client can integrate with Haptik's tool using simple webhooks.
For the purposes of the integration, haptik will provide the client with the following data:
- client_id
- token
- webhook URL
The client can then use this data for the integration. Here's how the integration will work:
- When the client wants to transfer the chat to an agent they perform the following actions:
- Create a Haptik User - Link to Documentation
- Send a message to Haptik - Link to Documentation. This creates a new message in Smart Agent Chat and assigns the chat to an agent.
- The client also needs to provide a webhook of their own where the responses from the agent will be sent. Haptik will send the agent responses to this webhook endpoint with the following payload - Link to Documentation.
- You can process the messages received on the webhook and forwards them to the user who sent the message.