Documentation
🛠 Tutorials
How to send data to n8n

How to send data to n8n

n8n is a workflow automation tool that allows you to connect different services together. You can use n8n to process data submitted through your forms.

Setting up n8n workflow

  1. Create a new workflow in n8n.
  2. Add a Webhook node as the starting node.
  3. Set the HTTP Method to POST.
  4. Copy the Test URL (for testing) or Production URL (for live forms).

Connecting to CustomGForm

  1. Go to your form settings in CustomGForm.
  2. Navigate to the Connect tab.
  3. Select Webhook.
  4. Paste the n8n Webhook URL into the URL field.
  5. Click Save.

Testing the connection

  1. In n8n, click Listen for Test Event.
  2. Submit your form.
  3. You should see the data appear in the n8n Webhook node.

Payload format

The payload sent to n8n will look like this:

{
  "formId": "cl...",
  "submittedAt": "2023-10-27T10:00:00.000Z",
  "data": [
    {
      "id": "336300422",
      "label": "Email",
      "value": "[email protected]"
    },
    {
      "id": "1099746086",
      "label": "Name",
      "value": "John Doe"
    }
  ]
}