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
- Create a new workflow in n8n.
- Add a Webhook node as the starting node.
- Set the HTTP Method to
POST. - Copy the Test URL (for testing) or Production URL (for live forms).
Connecting to CustomGForm
- Go to your form settings in CustomGForm.
- Navigate to the Connect tab.
- Select Webhook.
- Paste the n8n Webhook URL into the URL field.
- Click Save.
Testing the connection
- In n8n, click Listen for Test Event.
- Submit your form.
- 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"
}
]
}