Facebook/Meta Conversion API for eCommerce Leads/Orders
This n8n workflow helps eCommerce businesses (especially in the Cash on Delivery space) send real-time order events to the Meta (Facebook) Conversions API, ensuring accurate event tracking and better ad attribution.
Features Webhook Listener**: Accepts incoming order data (name, phone, IP, user-agent, etc.) via HTTP POST/GET.
Data Normalization**: Cleans and formats first_name, last_name, phone, and event_time according to Facebook's strict specs.
Data Hashing**: Securely hashes sensitive user data (SHA256), as required by Meta.
Full Custom Data Suppor**t: Pass order value, currency, and more.
Ideal For: Shopify, WooCommerce, custom stores (Laravel, Node, etc.)
Businesses using Meta Ads and needing high-quality server-side tracking
Teams without access to full dev resources, but using n8n for automation
How It Works:
Receive Order from your store via Webhook or API.
Format & Normalize fields to match Facebook’s expected structure.
Encrypt Sensitive Fields using SHA256 (name, phone, email).
Send to Facebook via the Conversions API endpoint.
Requirements: A Meta Business Manager account with Conversions API access
Your Access Token and Pixel ID set up in n8n credentials
Related Templates
Extract Named Entities from Web Pages with Google Natural Language API
Who is this for? Content strategists analyzing web page semantic content SEO professionals conducting entity-based anal...
Add product ideas to Notion via a Slack command
Use Case In most companies, employees have a lot of great ideas. That was the same for us at n8n. We wanted to make it a...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments