Before you start
- Your n8n has a public address that starts with
https://. Usertick doesn’t send to private addresses. - Your role has the Manage integrations permission. If your account uses two-factor authentication, Usertick asks for a code before it creates the webhook.
- Your plan has a free endpoint, with 1 on Free, 3 on Starter, 10 on Pro and 25 on Business. Each n8n workflow that starts from a response uses one.
Connect n8n
1
Add a Webhook node
In n8n, start a workflow with a Webhook node and set HTTP Method to POST.
2
Copy the production URL
Copy the node’s Production URL, then publish the workflow. The test URL works only while the n8n editor listens for it.
3
Create the webhook in Usertick
In Settings → Developers → Webhooks, select New webhook, enter a Name and paste the URL.
4
Choose what starts the workflow
Under Survey events, choose the surveys under Surveys and the event under When.
5
Create it and save the secret
Select Create webhook, copy the signing secret, then select I saved it.
6
Answer the survey once
The response appears under Executions in n8n, and the endpoint’s Deliveries show n8n’s answer.
Choose the event
The events that come after the AI analysis can be narrowed under Only these responses. To send the responses that match any other condition, use a workflow with a Send to a webhook step. See Send responses with a workflow.
Read the response in n8n
n8n puts the request’s body underbody and its headers under headers. These expressions work in any node that follows the Webhook node:
The AI values are empty on When a response is submitted. The Response resource describes every field.
Keep test pings out
Send test posts aping, whose body has no type. Put a Filter node after the Webhook node and keep the items whose {{ $json.body.type }} starts with response..
Skip a repeated delivery
When n8n doesn’t answer in time, Usertick sends the delivery again with the same ID. To act on it once, add a Remove Duplicates node, choose Remove Items Processed in Previous Executions and compare{{ $json.headers['webhook-id'] }}.
Protect the URL
n8n’s Webhook node doesn’t check Usertick’s signature, and anyone who has the production URL can start the workflow, so treat the URL as a password. To check each delivery, turn on Raw Body in the Webhook node and verify the signature in a Code node.Change a response from n8n
On Pro and above, the HTTP Request node can call the REST API with an API key sent as a Bearer token. For example, it can set a response’s status, type, urgency or assignees or add a note. The response’s ID is{{ $json.body.data.id }}.