Included in Plus
n8n
Trigger n8n workflows from survey responses.
Install n8n-nodes-userloop and you get two nodes. UserLoop Trigger starts a workflow on a submission, an answer or a low score, and checks the signature of every request. UserLoop sends a survey email or finds submissions from any workflow.
Read the docsWhat is the UserLoop node for n8n?
UserLoop for n8n is a community node package, n8n-nodes-userloop, with a UserLoop API credential and two nodes. UserLoop Trigger starts a workflow on a new submission, a new answer or a new low-score submission, and checks the HMAC-SHA256 signature of each request. The UserLoop node sends a survey email or finds submissions. It connects with an API key, so it needs the Plus plan.
- Direction
- Both ways. Responses out, survey emails in
- Package
- n8n-nodes-userloop
- Nodes
- UserLoop Trigger, UserLoop
- Connect
- A UserLoop API key, on Plus
Connect
Running in three steps
One package, one credential, one active workflow. There is no webhook URL to copy into UserLoop by hand.
01
Install the community node
In n8n, open Settings, then Community Nodes, and install the npm package n8n-nodes-userloop. It adds the UserLoop Trigger node, the UserLoop node and a UserLoop API credential.
02
Add a UserLoop API credential
Create an API key in UserLoop for n8n alone and paste it into API Key. Leave API Base URL at its default. n8n tests the credential with a request to /me.
03
Activate a workflow
Add UserLoop Trigger, choose an Event and a survey, and activate the workflow. The node registers the workflow's webhook URL with UserLoop and keeps the signing secret. Deactivate it and the node removes the endpoint again.
Copy
The package and three node configurations
Node types and parameter names are the ones in the package source, so they match what n8n writes into a workflow's JSON.
Settings > Community Nodes > Install
npm package name n8n-nodes-userloop
Credential UserLoop API
API Key ulk_live_...
API Base URL https://app.userloop.io/api/v1
Nodes UserLoop Trigger
UserLoop{
"name": "UserLoop Trigger",
"type": "n8n-nodes-userloop.userLoopTrigger",
"typeVersion": 1,
"parameters": {
"event": "response.low_score",
"surveyId": ""
},
"credentials": {
"userLoopApi": { "name": "UserLoop API" }
}
}{
"name": "UserLoop",
"type": "n8n-nodes-userloop.userLoop",
"typeVersion": 1,
"parameters": {
"operation": "sendSurveyEmail",
"surveyId": "",
"moment": "custom",
"email": "={{ $json.email }}",
"firstName": "={{ $json.first_name }}",
"event": "signed_up",
"eventId": "={{ $json.user_id }}",
"consent": "unknown"
},
"credentials": {
"userLoopApi": { "name": "UserLoop API" }
}
}{
"name": "UserLoop",
"type": "n8n-nodes-userloop.userLoop",
"typeVersion": 1,
"parameters": {
"operation": "findResponses",
"q": "={{ $json.query }}",
"limit": 50
},
"credentials": {
"userLoopApi": { "name": "UserLoop API" }
}
}The two nodes
What each node does with a request
The trigger receives and verifies. The action node writes a moment or reads submissions. Both use the same credential.
Verification
The trigger checks every signature for you
UserLoop Trigger is a webhook node that manages its own subscription and its own secret. A request that cannot prove it came from UserLoop stops at the node with an error and never reaches the rest of the workflow.
HMAC-SHA256. The UserLoop-Signature header is checked against the raw request bytes, with a comparison that takes constant time.
Five minute window. A request whose timestamp is more than five minutes from now is refused, so an old capture cannot be replayed.
Secret rolls. While a signing secret is being rolled, a request signed with either the old or the new one is accepted.
Probes dropped. The test request UserLoop sends when an endpoint is created is ignored, and so is any event type the node was not set to.
Events
One trigger node, three events
Event is a dropdown on the node, so switching a workflow from every submission to low scores only is one parameter. The item that comes out is the event as UserLoop sent it, ready for expressions.
New Submission. response.completed, the default. data.answers holds every answer of the finished submission.
New Answer. response.new. data.answer is the one answer that just arrived, and data.final says whether it was the last.
New Low-Score Submission. response.low_score. data.low_score names the question and the score.
Survey Name or ID. Pick a live survey from the list, pass an ID with an expression, or leave it empty for all surveys.
{
"id": "evt_sample_1",
"type": "response.new",
"api_version": "v1",
"organisation_id": "org_sample",
"created_at": "2026-11-13T14:01:52.000Z",
"data": {
"response_id": "response_sample",
"survey": {
"public_id": "survey_sample",
"title": "Fieldnote feedback"
},
"received_at": "2026-11-13T14:01:52.000Z",
"final": false,
"answer": {
"question_id": "question_sample",
"question": "How likely are you to recommend us?",
"type": "number_score",
"score": 9
}
}
}{{ $json.id }}
the event ID, the same on every retry
{{ $json.data.survey.title }}
{{ $json.data.answer.question }} response.new
{{ $json.data.answer.score }} response.new
{{ $json.data.answers }} response.completed
{{ $json.data.low_score.score }} response.low_scoreSend
The wait lives on the survey, not in a Wait node
Send a Survey Email records a moment in UserLoop: an order placed, shipped or delivered, a checkout abandoned, or a custom event you name. Live email surveys listening for it schedule the email with their own wait and rules, so the workflow can end right there.
Custom by default. Moment starts on custom, which needs a Custom Event Name such as signed_up and a Custom Event ID such as signup_123.
Order moments. order placed, order shipped and order delivered need an Order ID. checkout abandoned needs a Checkout ID. The node stops with a clear message when one is missing.
Order Facts. An optional JSON object with name, placed_at, total, currency, product_ids, collection_ids, shipping_country and customer_type, for surveys whose rules read them.
Retries do not double send. Keep the same Order ID or Custom Event ID when a workflow reruns and the same moment is not emailed twice.
Operation Send a Survey Email
Survey Name or ID All Surveys
Moment custom
Customer Email emma@example.com required
First Name Emma
Custom Event Name signed_up for custom
Custom Event ID signup_123 for custom
Consent unknown
order placed, order shipped,
order delivered Order ID required
checkout abandoned Checkout ID requiredOperation Find Submissions
Search required
Limit 50 from 1 to 1,000
Output one item per submission,
linked to the input item
it was found forAgents
Hand a response to an agent with no chat window
Many teams run their AI agents in n8n. Put UserLoop Trigger in front of an agent node and each response becomes a piece of work the agent picks up by itself: sort it, draft the reply, open the ticket.
Event in, action out. The trigger delivers the response. Nobody has to open a chat and ask.
More context on demand. Add the UserLoop node's Find Submissions operation as a step when the agent needs earlier responses.
Ask again later. End the workflow with Send a Survey Email to follow up after the agent has acted.
Or give it the MCP server. An agent that accepts a remote MCP server can use UserLoop's 93 tools directly.
Reference
Parameters in, fields out
Everything the credential and the two nodes take, and every field the trigger can emit.
- UserLoop API credential
- API Key and API Base URL, which defaults to https://app.userloop.io/api/v1. Tested with a request to /me.
- Trigger: Event
- New Submission (response.completed), New Answer (response.new), New Low-Score Submission (response.low_score). New Submission is the default.
- Trigger: Survey Name or ID
- A live survey from the list, an ID from an expression, or empty for all surveys.
- id, type, created_at
- The event's ID, which stays the same on a retry, its type and when it was created. api_version and organisation_id come with them.
- data.response_id, data.survey
- The submission's ID, and the survey's public_id and title. data.received_at and data.channel sit beside them.
- data.answer, data.answers
- Each answer has question_id, question, text and score. data.answer is the single answer on response.new, with data.final. data.answers is the list on the other two events.
- data.customer
- name, email and masked. Contact details are masked by default.
- data.order
- order_number, total and currency, when the response has an order behind it.
- data.low_score
- question_id and score, on response.low_score.
- UserLoop: Send a Survey Email
- Survey Name or ID, Moment, Customer Email (required), First Name, Customer ID, Occurred At (ISO 8601), Order ID, Checkout ID, Custom Event Name, Custom Event ID, Consent and Order Facts.
- Consent
- subscribed, not_subscribed, unsubscribed or unknown. unknown is the default.
- UserLoop: Find Submissions
- Search (required) and Limit, which defaults to 50 and runs from 1 to 1,000. Returns one item per submission.
Workflows to build
Four workflows worth building first
Each one names the UserLoop node and the n8n nodes around it. In the second, the three days is the survey's own wait.
“Page whoever is on call when a customer scores us low, and never twice for the same event.”
UserLoop Trigger: New Low-Score SubmissionRemove Duplicates: idIF: data.low_score.scoreOn-call tool: create incident“Three days after signup, ask each new user why they chose us.”
Webhook: user signed upUserLoop: Send a Survey Email (custom: signed_up)“Every Monday, run our saved search over submissions and email the matches to the product team.”
Schedule TriggerUserLoop: Find SubmissionsAggregateSend Email“Have our support agent read each written answer and draft a reply for a person to approve.”
UserLoop Trigger: New AnswerAI AgentHelp desk: create a draft
In production
What to know when you run it for real
Where the secret lives, how to recover it, and how the nodes behave when something goes wrong.
Secret in static data
The signing secret is kept in the workflow's static data. Treat a workflow backup that includes static data as sensitive.
Lost the secret
Remove the n8n endpoint in UserLoop, then activate the trigger again. It registers a fresh one.
Rolled it by hand
After rolling the secret in UserLoop, deactivate and reactivate the trigger so the node holds the new one.
Deduplicate on id
Delivery is at least once and not in order. Add a Remove Duplicates node on id when a step must run once.
Quiet errors
A failed request reports its HTTP status and nothing more. Keys and customer data stay out of error messages.
One origin
The credential sends your key to the API Base URL you saved, and refuses any other address.
Paged for you
Find Submissions follows the cursor, 50 at a time, until it reaches your Limit.
Retried and logged
Up to 10 delivery attempts per event, with 90 days of delivery log in UserLoop.
Related
Next to the n8n node
The same events without n8n, the same agents with more tools, and the other two automation tools.
- PlusWebhooksThe signed events the trigger node subscribes to, sent to any URL.
- AgentsAgents that act on a response with no chat window.
- MCP server93 tools for an agent that reads and writes UserLoop directly.
- PlusMakeThree trigger modules and a customer search, in a hosted scenario builder.
- UnlimitedZapierSign in instead of a key. Included on Unlimited.
- All integrationsThe full directory, with the plan each one needs.
Frequently asked questions
Is there a UserLoop node for n8n?
Yes. The n8n-nodes-userloop package adds two nodes, UserLoop Trigger and UserLoop, and a UserLoop API credential. The trigger starts workflows from survey responses, and the action node has 2 operations: Send a Survey Email and Find Submissions.
How do I install the UserLoop node in n8n?
Install it as a community node, using the npm package name n8n-nodes-userloop. Then add a UserLoop API credential with an API key from your UserLoop account. n8n tests the key with a request to /me.
Which UserLoop plan includes n8n?
Plus, at $99 a month. The nodes connect with an API key and subscribe to webhooks, and both come with Plus.
Does the trigger node verify webhook signatures?
Yes. UserLoop Trigger checks the HMAC-SHA256 signature of every request against the raw body, refuses a timestamp more than five minutes off, and accepts both secrets while one is being rolled. A request that fails stops with an Invalid UserLoop webhook signature error.
How do I stop a workflow running twice for the same response?
Delivery is at least once, so a retry can arrive after a success. Every event keeps the same id across retries. Add a Remove Duplicates node on id after the trigger.
What happens when I deactivate the workflow?
The trigger node removes its endpoint from UserLoop, so events stop being sent. Activating the workflow again registers a new endpoint with a new signing secret.
Does Send a Survey Email need a Wait node before it?
No. The operation records a moment, and the email survey's own wait decides when the email goes. Its rules, unsubscribes and your monthly email allowance are applied by UserLoop as well.
Can the n8n node look up a customer?
Not as an operation. The UserLoop node has Send a Survey Email and Find Submissions. The Make app has a Find customer module, and the API reads customers on Plus, which an HTTP Request node can call.
Keep reading
Add the UserLoop node to your next workflow
n8n is included on Plus at $99 a month, with a 14 day trial. Install n8n-nodes-userloop, add a credential and activate a trigger.