Automation
Connect n8n
Start an n8n workflow with every response, on n8n Cloud or your own instance.
With n8n, every response can start a workflow, on n8n Cloud or on your own server.
Set it up
- In n8n, create a workflow and add a Webhook node as the trigger.
- Set HTTP Method to POST and copy the Production URL. The test URL only works while the editor listens, so StrawPoll doesn’t accept it.
- Optional: set Authentication to Header Auth and note the header name and value.
- In StrawPoll, open Integrations, click Add an integration and choose n8n.
- Paste the URL and add the same header if you set one up. Choose the poll and events, then save.
- Activate the workflow, then click Send test to check that the sample response arrives.
A self-hosted instance has to be reachable from the internet over HTTPS.
The data you can use
n8n puts the request under body, with the same payload as a webhook:
body.eventisresponse.created,response.updated,response.deletedorpingfor a test.body.formnames the poll.body.response.respondentholds the name, email and phone.body.response.answerslists every answer, with itsquestion, rawvalueand readabletext.
To skip tests, add an If node that stops when body.event is ping.
Check the signature
Every request is signed like a webhook, so you can also check the X-StrawPoll-Signature header with the integration’s signing secret. Verify webhooks shows how.