Templates / Facebook/Meta conversion API for eCommerce leads/orders

Facebook/Meta conversion API for eCommerce leads/orders

Ready for 3.0

by Omar Akoudad · 3,511 views · created 2025-06-23 · Social Media

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 7 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects Facebook Graph API.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).

  1. Format data (Code): runs custom JavaScript code
  2. Test data (Code): runs custom JavaScript code
  3. Normalize data (Edit Fields (Set)): sets 4 fields: user_data.phone, event_time, user_data.first_name…
  4. Encrypt data (Edit Fields (Set)): sets 3 fields: user_data.first_name, user_data.last_name, user_data.phone
  5. Send event to Meta (Facebook Graph API): uses Facebook Graph API

Services it uses

Facebook Graph API

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 (5)

From the author

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…

Excerpt from Omar Akoudad'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.