Send HeyReach campaign performance reports to Gmail via webhook
UnknownWhat this workflow does
This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail and Heyreach (community).
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set Campaign & Recipient Info (Edit Fields (Set)): sets 3 fields: campaignId, campaignName, recipientEmail
- Retrieve a campaign (Hey Reach): uses Hey Reach
- Retrieve overall statistics (Hey Reach): work with stats
- Merge: merges the data from its input branches
- Prepare HTML Email Report (Edit Fields (Set)): sets 2 fields: subject, body
- Send Report via Gmail (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-heyreach is verified or supports 3.0 (used in Retrieve a campaign, Retrieve overall statistics).
Nodes used (5)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Gmail
n8n-nodes-base.gmail - Hey Reach
n8n-nodes-heyreach.heyReach - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow receives a HeyReach “campaign completed” webhook, fetches the campaign’s overall performance stats from the HeyReach API, formats an HTML summary report, and sends the report to a specified recipient via Gmail. How it works 1.…