Description This workflow serves a 1x1 transparent PNG image via a webhook, which can be embedded in an email to track when the email is opened. When the image is loaded by the recipient's email client, the webhook is triggered, optionally capturing a userId to identify who opened the email. π Workflow Steps 1. Webhook Trigger (Request img) - Path: /webhook/change-with-your-id - Triggered by an HTTP request (e.g. when the image is loaded in an email). - Accepts a query parameter id to identif

Description This workflow serves a 1x1 transparent PNG image via a webhook, which can be embedded in an email to track when the email is opened. When the image is loaded by the recipient's email client, the webhook is triggered, optionally capturing a userId to identify who opened the email. π Workflow Steps 1. Webhook Trigger (Request img) - Path: /webhook/change-with-your-id - Triggered by an HTTP request (e.g. when the image is loaded in an email). - Accepts a query parameter id to identify the recipient. 2. Set Base64 Data (Create data pix) - Creates a variable data containing a Base64-encoded transparent PNG image (1x1 pixel). 3. Convert to Binary (Create img bin) - Converts the Base64 data string into a binary file. - Sets MIME type to image/png. 4. Respond to Webhook (Respond to Webhook) - Sends the binary image file in the HTTP response. 5. Logging (Do anything to log) - Placeholder node to log or process the id or request metadata. - You can access the id using {{$json["query"]["id"]}}. - You can also use any parameter you want βοΈ How to Use in Emails Embed the image in an HTML email like this: When the email is opened and the image is loaded, the workflow will be triggered. π οΈ Notes - Some email clients block images by default; this may prevent tracking. - You can enhance the workflow to store open events in a database, log the timestamp, IP, or user agent. - Make sure to comply with data privacy and consent regulations (e.g. GDPR).
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.