LeadSquared Whatsapp Connector Integration
You can integrate Yellow.ai with LeadSquared’s Converse platform to enable live agent support on WhatsApp. With this integration, your AI Agent can automatically transfer conversations to LeadSquared agents whenever human assistance is required.
Notification delivery reports are sent back to LeadSquared for tracking. If customers respond to these notifications, the AI Agent continues the conversation and can seamlessly escalate to a live agent when needed.
Prerequisites
Before you begin, ensure you have:
- An active LeadSquared WhatsApp Business Account (WABA).
- Super Admin permissions on both Yellow.ai and LeadSquared.
- The following details from your LeadSquared account:
- API token
- Delivery tracking URL
- Expire after value
- Username (your registered WABA number, e.g.,
91XXXXXXXXXX
) - Password
- Webhook URL
Configure WhatsApp Business in LeadSquared
Refer to the official help guide here: LeadSquared WhatsApp Cloud API Integration.
Steps (in brief):
- Go to Apps → Apps Marketplace in your LeadSquared account.
- Search for WhatsApp Business and click Settings → Configure.
- Click Add Number and fill in the basic details.
- In the Service Provider step, select WhatsApp Client.
- In the Authentication step, enter your WABA number (e.g., 91XXXXXXXXXX).
- Save the details and refresh the page to proceed with the next steps.
Add LeadSquared WhatsApp Connector in Yellow.ai
-
Go to Extensions → Integrations.
-
Search for LeadSquared WhatsApp Connector.
-
Click Add account.
-
Fill in the configuration fields:
- Account name → Enter a unique identifier for this account. Only lowercase, numbers, and underscores (_) are allowed.
- API token → Paste your LeadSquared API token.
- Delivery tracking URL → Enter the LeadSquared tracking endpoint.
- Expire after → Provide the validity duration for the connection.
- Username → Enter your registered WABA number (e.g.,
91XXXXXXXXXX
). - Password → Your LeadSquared password.
- Webhook URL → Paste the webhook URL generated in LeadSquared.
-
Click Connect to complete the setup.
Enable Notification API Engine in Yellow.ai
After completing the integration, you must enable the Notification API Engine in Yellow.ai to sync delivery reports with LeadSquared.
- Copy the Postback URL generated after successful integration (available on the same integration page).
- In Yellow.ai, go to Settings > Engage.
- Enable Notification API Engine.
- In the Postback URL section, turn on the option and paste the copied URL in the Send the delivery status to field.
Verify Integration
- Send a test message to your registered WhatsApp Business number.
- Confirm that the AI Agent in Yellow.ai responds.
- Check conversation logs under Analytics → Conversations to ensure messages are being delivered and tracked correctly.
Troubleshooting
- Invalid credentials error → Verify API token, username, and password from LeadSquared.
- Messages not delivered → Ensure the Webhook URL is correctly configured in both Yellow.ai and LeadSquared.
- Expired connection → Update the Expire after field with a valid duration.