How to Automate CSAT Surveys on WhatsApp with Gallabox Webhooks
Last updated
Last updated
Manually sending CSAT surveys or WhatsApp Messages can be time-consuming and error-prone. With Gallabox's webhook integration, you can automate this process and gather valuable customer insights.
This guide will walk you through the steps of setting up a webhook to trigger CSAT WhatsApp message templates automatically when conversations are resolved, simplifying your customer feedback collection process.
Pre-requisites:
Should have a WhatsApp Message Template ready in the Gallabox.
Should have a Admin or Owner access for Gallabox.
Should be in a Scale plan or above.
In your Gallabox Account, from left navigation go to Integrations. Select 'Generic Webhooks' from the list of Available Integrations.
To connect 'Generic Webhook', enter the webhook name to generate a Webhook URL. This Webhook URL will be used while creating a Webhook in the next step.
Select the Channel with which you would like to send the Feedback WhatsApp Messages. Copy the Webhook URL generated and navigate to Webhooks under settings. Create a New Webhook URL. Paste the Webhook URL from previous step & choose the action as conversation.resolve
To test the webhook, go to Generic Webhook Connection you created and click on 'Capture Webhook Response'. Go and resolve a test conversation for the value to be captured by this webhook. You will see the headers under which the values are stored. Use these headers for the conditions in the workflow in the next step.
Make sure to choose the WhatsApp Channel and update the configuration.
To create a workflow, click on 'Create New Workflow'. Enter the workflow name, conditions, pick a WhatsApp message template to be sent, and add actions. Click on 'Create Workflow'.
Enter the name for the Workflow, choose 'ALL' from the dropdown for conditions. The conditions you have to enter are:
Comparator | Operator | Value |
---|---|---|
channel.whatsapp.whatsappnumber | Equal | 917825877797 (enter your business WhatsApp Number) |
user.name | Is not Empty | |
assigneeType | Equal | user |
Choose the desired WhatsApp Message Template you have created asking for the chat feedback. For the Recipient Name and Recipient Phone use the variables as {{body.contact.name}}
and +{{body.contact.phone}}
respectively.
Make sure to add + before {{body.contact.phone}}
variable. If you didn't an error will show and no WhatsApp Message will be shared with the customers.
You could add an action like 'Update Contact tags' to mark the contacts who provided the feedback for the chat with your customer support team. Click on 'Create Workflow' at the end to activate the workflow.
After this workflow is created, when a chat is resolved in Gallabox, a WhatsApp Message Template asking for a feedback will be shared with your customers.