Skip to content
Lazyform
All integrations

Automation

n8n

Start an n8n workflow for each submission.

ProNeeds the Pro plan

The n8n integration starts an n8n workflow each time someone submits your form. It works with n8n cloud and with n8n running on your own server, as long as it's reachable over HTTPS.

Needs the Pro plan.

What you need

  • Webhook URL: the production URL of a Webhook node in your workflow. It must start with https://.

Set it up

  1. In n8n, create a new workflow and add a Webhook node as the trigger.
  2. Set HTTP Method to POST.
  3. Open the node's Production URL tab and copy that URL. (The test URL only works while you're watching the editor.)
  4. Add the nodes you want after the Webhook node, then save the workflow and switch it to Active.
  5. In the Lazyform dashboard, open your form, then Integrations, then n8n.
  6. Paste the production URL and save. We send a test submission when you save. You'll see it in the workflow's Executions.

To build the workflow with real data first, copy the Test URL, click Listen for test event in n8n, and save the integration with the test URL. Once your workflow is ready, switch the integration to the production URL.

What you'll receive

n8n receives one request per submission, with the same JSON as our webhooks. In the Webhook node's output it's under body: body.form.name, body.data.email, body.pageUrl, body.files (links valid for 7 days) and body.dashboardUrl.

If you want to check that requests come from Lazyform, you can verify the X-Lazyform-Signature header in a Code node. See verify the signature.

Troubleshooting

  • "HTTPS required" when saving. The URL must start with https://. A self-hosted n8n needs a domain with an HTTPS certificate (or a tunnel).
  • The test works but real submissions don't. You're probably using the test URL. Switch to the production URL and make sure the workflow is Active.
  • 404 errors in the delivery log. The workflow is inactive, or the webhook path changed. Activate it, or copy the production URL again.
  • Some submissions are missing. Spam isn't sent. Check the spam folder and the delivery log in the dashboard, where you can also resend a submission.