Block 1 - Webhook - Lead Webform
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Web to Odoo Lead Funnel (UTM ready) Create records in Odoo from any webform via a secure webhook. The workflow validates required fields, resolves UTMs by name (source, medium, campaign) and writes...
n8n-nodes-base.webhook, n8n-nodes-base.merge, n8n-nodes-base.odoo, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.executiondata, n8n-nodes-base.respondtowebhook, n8n-nodes-base.if
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Gaetano Castaldo.
Original n8n.io source# Web-to-Odoo Lead Funnel (UTM-ready)
Create crm.lead records in Odoo from any webform via a secure webhook.
The workflow validates required fields, resolves UTMs by name (source, medium, campaign) and writes standard lead fields in Odoo. Clean, portable, and production-ready.
x-webhook-token)firstname, lastname, email)utm.source, utm.medium, utm.campaign)name, contact_name, email_from, phone, description, type, UTM IDs)200 success / 400 bad requestWEBHOOK_URL / N8N_HOST / N8N_PROTOCOL / N8N_PORT are consistentx-webhook-token: <your-secret>)/webhook(-test)/lead-webform with Header Auth. 400 Bad Request. getAll queries fetch IDs by name:utm.source → source_idutm.medium → medium_idutm.campaign → campaign_idnull.{ name, contact_name, email_from, phone, description, type: "lead", campaign_id, source_id, medium_id }crm.lead → create) writes the lead with standard fields + UTM Many2one IDs.200 with { status: "ok", lead_id }.Required: firstname, lastname, email
Optional: phone, notes, source, medium, campaign
{
"firstname": "John",
"lastname": "Doe",
"email": "[email protected]",
"phone": "+393331234567",
"notes": "Wants a demo",
"source": "Ads",
"medium": "Website",
"campaign": "Spring 2025"
}
curl -X POST "https://<host>/webhook-test/lead-webform" \
-H "Content-Type: application/json" \
-H "x-webhook-token: <secret>" \
-d '{"firstname":"John","lastname":"Doe","email":"[email protected]",
"phone":"+39333...", "notes":"Demo",
"source":"Ads","medium":"Website","campaign":"Spring 2025"}'
mobile field on leads/partners: use phone instead.getAll and a create on utm.*.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Secure web form to Odoo CRM lead creation with UTM tracking |
|---|---|
| Complexity | advanced |
| Nodes | 19 |
| Categories | Lead Generation, Multimodal AI |
| Author | Gaetano Castaldo |
| Published | 12 Aug 2025 |
Use the JSON export at /data/workflows/7289/7289.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Web to Odoo Lead Funnel (UTM ready) Create records in Odoo from any webform via a secure webhook. The workflow validates required fields, resolves UTMs by name (source, medium, campaign) and writes...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, Multimodal AI use case.