In this tutorial, we will cover how to send survey response data to an external webhook URL when specific actions are performed on a survey response.
This option can be configured for each survey campaign in your account. To set it up, go to a campaign's editor, access the Webhooks section, and either create a new webhook or edit an existing one.
In the webhook's Event section, choose the "Response action performed" event and save the webhook.
From that point on, whenever one of the following actions is performed on a response, the data will be sent via the webhook URL:
Response marked as Resolved/Not Resolved
Response marked as Starred/Unstarred
Response assigned/unassigned (to another user in your account)
Note added/edited to the response
The webhook's JSON payload will include an "event" property, listing the name of the performed action:
response_updated_resolved
response_updated_unresolved
response_updated_starred
response_updated_unstarred
response_updated_assigned
response_updated_unassigned
response_updated_notes_updated (for any note-related event)
Additionally, in the JSON payload, four properties will have their values updated when any of the listed actions occur:
response_resolution (boolean; e.g., true)
response_star (boolean; e.g., false)
response_assign (string; e.g., "Jim Smith")
response_notes (object, containing the following keys: user (string), note (string), date (date), is_edited (boolean))