Quick overview
This workflow receives lead data via a webhook (or a manual test lead), normalizes and SHA-256 hashes the email with DevDeskApp, generates a deduplication event ID, formats a Meta Conversions API payload, then sends it to Meta Graph API while logging the lead to Google Sheets and notifying Slack.
How it works
- Receives an inbound lead from the Production Lead Ingestion Webhook (or generates a sample lead when run manually for testing).
- Cleans and lowercases the lead email using DevDeskApp to meet Enhanced Conversions formatting requirements.
- Hashes the normalized email with SHA-256 and generates a UUID event ID for conversion deduplication using DevDeskApp.
- Builds a campaign tracking slug from the campaign name and city and formats a Meta Conversions API (CAPI) event payload.
- Sends the server-side conversion event to the Meta Graph API endpoint.
- Appends the privacy-verified lead record (including hashes and event ID) to a Google Sheets tab.
- Posts a Slack message to alert the marketing team with the campaign, event ID, and SHA-256 digest.
Setup
- Configure the Production Lead Ingestion Webhook URL in your form/landing page tool (or other source) to send lead payloads to this workflow.
- Add and configure the DevDeskApp node credentials (or ensure the DevDeskApp community node is installed) to use the text and crypto operations.
- Update the Meta Graph API request with your Facebook Pixel ID and provide a valid CAPI access token/authorization for the HTTP request.
- Connect Google Sheets credentials and set the correct spreadsheet ID and sheet name (for example, the Verified_Leads tab).
- Connect Slack credentials and set the target channel (for example, #growth-marketing-alerts).