A
Atlas
...

n8n Integration

Connect Atlas Forms to n8n for self-hosted workflow automation. Keep full control of your data while building powerful automations.

Quick Setup

1. Add Webhook Node

  • In n8n, create a new workflow
  • Add a Webhook node as the trigger
  • Set HTTP Method to POST
  • 2. Copy Webhook URL

    Copy either:

  • Test URL for development
  • Production URL for live workflows
  • 3. Add to Atlas

  • In Atlas dashboard, go to your project settings
  • Paste the n8n webhook URL in the Webhook URL field
  • Save changes
  • 4. Activate Workflow

    Make sure your n8n workflow is activated to receive production webhooks.

    Webhook Payload

    n8n receives this data from Atlas:

    json
    {
      "event": "submission.created",
      "form": {
        "id": "form-uuid",
        "name": "Contact Form"
      },
      "submission": {
        "id": "submission-uuid",
        "data": {
          "name": "Jane Doe",
          "email": "jane@example.com"
        }
      }
    }

    Verify Webhooks with HMAC

    Use n8n's Function node to verify webhook signatures:

    javascript
    const crypto = require('crypto');
    
    const secret = $env.WEBHOOK_SECRET;
    const signature = $input.first().headers['x-webhook-signature'];
    const body = JSON.stringify($input.first().json);
    
    const expected = 'sha256=' + crypto
      .createHmac('sha256', secret)
      .update(body)
      .digest('hex');
    
    if (signature !== expected) {
      throw new Error('Invalid signature');
    }
    
    return $input.all();

    Resources

  • n8n Webhook Documentation
  • Atlas Webhooks Guide