Templates / Secure web form to Odoo CRM lead creation with UTM tracking

Secure web form to Odoo CRM lead creation with UTM tracking

Ready for 3.0

by Gaetano Castaldo · 3,062 views · created 2025-08-12 · Lead Generation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Odoo.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Required data missing? (If): checks a condition and branches into true / false
  2. Bad Request (Respond to Webhook): sends the response back to the webhook caller
  3. UTM: Get Campaign ID (Odoo): get many (custom)
  4. UTM: Get Medium ID (Odoo): get many (custom)
  5. UTM: Get Source ID (Odoo): get many (custom)
  6. Merge: merges the data from its input branches
  7. Campaign ID Validation (Code): runs custom JavaScript code
  8. Medium ID Validation (Code): runs custom JavaScript code
  9. Source ID Validation (Code): runs custom JavaScript code
  10. Prepare Request (Code): runs custom JavaScript code

…plus 3 more steps. See the full node list below.

Services it uses

Odoo

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

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…

Excerpt from Gaetano Castaldo's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.