Send hashed backend conversions to Meta Conversions API and Google Ads
Ready for 3.0Ready 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.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Crypto
n8n-nodes-base.crypto - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest
What it does
Quick overview This workflow reads backend conversion events, normalizes and SHA-256-hashes required identifiers, and then sends each conversion to Meta Conversions API, Google Ads Enhanced Conversions, or both using HTTP requests with environment-based access tokens. How it works 1. Runs manually to start the conversion upload. 2. Sets the Meta Pixel ID, Meta/Google API versions, and Google Ads customer and conversion action IDs used to build requests. 3. Loads backend conversion records (example rows) that include a destination flag (meta, google, or both) plus identifiers and conversion value data. 4. Normalizes the identifier fields and hashes the required PII fields (email, phone, name, city/state/zip/country) with SHA-256. 5. Regroups hashed identifiers with the original non-hashed fields (such as externalid, fbc/fbp, IP address, and user agent) into a per-conversion payload structure. 6. Routes each conversion to Meta and/or Google based on the destination flag. 7. Sends conversions to the Meta Conversions API and uploads conversions to the Google Ads API using authenticated HTTP requests. Setup 1. Replace the example conversion source with your own data source (for example Supabase, Postgres, or Google Sheets) and ensure each record includes destination, identifiers, event details, and value/currency. 2. Update the configuration values for METAPIXELID, GOOGLEADSCUSTOMERID, GOOGLEADSCONVERSIONACTION, and any API version or test event settings. 3. Set the required environment variables in n8n: METAACCESSTOKEN, GOOGLEADSACCESSTOKEN, and GOOGLEADSDEVELOPERTOKEN. 4. If needed, set GOOGLEADSLOGINCUSTOMERID for manager-account access, and set METATESTEVENTCODE to test Meta events before going live. Customization - Adjust the trigger and source data as per your CRM/Event source