How to receive CSAT survey responses via webhook
Create a workflow with the CSAT Survey Answered trigger and a Send a webhook action. Plain has no native thread.csat_survey_answered webhook event type, but this workflow sends each response to your endpoint in real time, with no polling or scheduled jobs.
Set up the workflow
- Create a new workflow.
- Set the trigger to CSAT Survey Answered.
- Add the action Send a webhook and enter your endpoint URL.
Plain POSTs the CSAT response data to your endpoint every time a customer submits a survey, as soon as the response is received.
What you receive
The payload includes thread context, the CSAT rating of Positive, Neutral or Negative, and any open-text comment the customer submitted.
Limitations
This is not a first-class webhook event type, so it does not appear in the list of subscribable events in Settings, under Webhooks. You need one workflow per survey configuration.
Polling the GraphQL API instead
If you prefer not to use workflows, you can query the Plain GraphQL API on a schedule to retrieve CSAT responses. The workflow is simpler and delivers in real time without a cron job, so it is the recommended approach.