Secure Web Form to Odoo CRM Leads with UTM Tracking
Securely captures web form submissions via webhook, validates data, resolves UTMs, and creates validated CRM leads in Odoo with tracking.
This workflow transforms web form submissions into Odoo CRM leads using a secure webhook endpoint protected by header authentication (x-webhook-token). It receives POST data including essential fields like firstname, lastname, email, phone, and optional UTMs (utm.source, utm.medium, utm.campaign). Upon ingestion, it validates required fields; invalid requests return a 400 Bad Request response immediately.
Next, it performs targeted Odoo API lookups to resolve UTM parameters by name, fetching source_id, medium_id, and campaign_id. If a UTM doesn't exist, it gracefully sets the ID to null, ensuring the workflow doesn't fail. Data is then consolidated via Merge and Code nodes into a clean object with fields like name, contact_name, email_from, phone, description, type: 'lead', and the resolved UTM IDs.
Finally, it creates the crm.lead record in Odoo and responds with a 200 success status. Benefits include production-ready security, automatic UTM tracking for marketing attribution, reduced manual data entry, and seamless integration without custom coding. Ideal for websites, landing pages, or apps funneling leads into Odoo CRM, saving hours on setup and ensuring data integrity for sales teams.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Utilities workflows
- Streamlined Employee Onboarding with Automated Meeting Setup$19.98
- Automate Your LinkedIn Content Creation with RAG Pipeline & Chatbot$24.99
- SEO Keyword Research Automation with Google API Integration$14.99
- Automate Google Sheets and Gmail Integration via Webhook$16.33
- Automated Breaking News Headlines with LLaMA3 and X Posting$19.99
- Automated Webinar Registration and Contact Management$13.09
More from Jordi Faber
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.