Quick overview
This workflow listens to NUACOM call events, tags qualifying calls with a CSAT label, sends a WhatsApp CSAT survey using WhatsApp via NUACOM, and stores the call ID and phone number in an n8n Data Table for response tracking.
How it works
- Receives a call event from NUACOM.
- Checks that the call duration is greater than 60 seconds and that the call is not already tagged as CSAT.
- Waits 15 seconds, then adds the CSAT tag to the NUACOM call.
- Sends a NUACOM WhatsApp template message to the caller’s phone number.
- Inserts the caller number, NUACOM call ID, and a default “Customer_Responded = false” flag into an n8n Data Table.
- Separately, triggers on NUACOM call tag updates and, when the CSAT tag is added (manually or during a call), optionally waits 2 hours and then sends the same WhatsApp CSAT message.
Setup
- Add a NUACOM API credential and ensure the NUACOM triggers can receive events for call updates and tag changes.
- Update the CSAT tag ID, WhatsApp sender number, template ID, and template variables used for the NUACOM WhatsApp message.
- Create or select an n8n Data Table and confirm it includes columns for Phone_Number, NUACOM_Call_ID, and Customer_Responded.