Ask for a rating on WhatsApp after a ticket is closed
When a support ticket is closed, the customer gets a WhatsApp message asking them to rate the help.
How it works
Trigger: Webhook — your helpdesk closes a ticket
- Your helpdesk sends the closed ticket (id, name, phone) to the webhook.
- Continue only if there's a phone number.
- Send a WhatsApp template with 1–5 rating buttons.
Diagram
Trigger App Logic
Build it
Pick your tool — same automation, step by step.
Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder.
Show code (136 lines)
{
"name": "Ask for a rating on WhatsApp after a ticket is closed (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## Ask for a rating on WhatsApp after a ticket is closed\nWhen a support ticket is closed, the customer gets a WhatsApp message asking them to rate the help.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "3f36c28d-dcaa-4fe7-afb0-dde2cffcb7d1",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "ticket-closed",
"options": {}
},
"id": "3f36c28d-dcaa-4fe7-afb0-dde2cffcb7d1",
"name": "Ticket closed",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
],
"webhookId": "3f36c28d-dcaa-4fe7-afb0-dde2cffcb7d1"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose"
},
"conditions": [
{
"id": "c1",
"leftValue": "={{ String($json.body.phone || '').replace(/[^0-9]/g, '').length >= 10 }}",
"rightValue": "",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "3f36c28d-dcaa-4fe7-afb0-dde2cffcb7d1",
"name": "Has a phone?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
300,
0
]
},
{
"parameters": {
"operation": "sendTemplate",
"phoneNumberId": "YOUR_PHONE_NUMBER_ID",
"recipientPhoneNumber": "={{ String($json.body.phone).replace(/[^0-9]/g, '') }}",
"template": "YOUR_CSAT_TEMPLATE|ar",
"components": {
"component": [
{
"type": "body",
"bodyParameters": {
"parameter": [
{
"type": "text",
"text": "={{ $json.body.name || 'عميلنا العزيز' }}"
},
{
"type": "text",
"text": "={{ $json.body.ticket_id }}"
}
]
}
}
]
}
},
"id": "3f36c28d-dcaa-4fe7-afb0-dde2cffcb7d1",
"name": "Ask for a rating",
"type": "n8n-nodes-base.whatsApp",
"typeVersion": 1,
"position": [
600,
0
]
}
],
"connections": {
"Ticket closed": {
"main": [
[
{
"node": "Has a phone?",
"type": "main",
"index": 0
}
]
]
},
"Has a phone?": {
"main": [
[
{
"node": "Ask for a rating",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}In Make, create a new scenario and add these modules in order:
- Webhooks › Custom webhook
- Filter on the next route: “Has a phone?”
- If yesWhatsApp Business Cloud › Send a Template Message
- Every module run uses Make operations — the free plan includes a monthly quota.
- Module and step names can differ slightly as Make and Zapier update their apps.
In Zapier, create a new Zap and add these steps in order:
- Webhooks by Zapier — Catch Hook
- Filter by Zapier: “Has a phone?”
- If yesWhatsApp — Send Template Message
- Zaps with more than two steps need a paid Zapier plan.
- Webhooks, Filters/Paths and Code by Zapier are premium features on some Zapier plans.
- Module and step names can differ slightly as Make and Zapier update their apps.
Tips
- Use quick-reply buttons in the template, then catch the replies with the WhatsApp new-chat flow.
Related flows
Customer SupportAdvanced
WhatsApp FAQ assistant
Answer common customer questions on WhatsApp 24/7 using your own FAQ.
WhatsApp → AI model15h/mo
Customer SupportMedium
WhatsApp reminders for tomorrow's appointments
Clients get a WhatsApp reminder the day before their appointment — fewer no-shows.
Google Calendar → WhatsApp8h/mo
Customer SupportEasy
WhatsApp away message outside working hours
Customers who message after hours get a polite Arabic and English reply with your opening times.
WhatsApp2h/mo