Templates / Automatic email unsubscribe handler: Outlook to BigQuery integration

Automatic email unsubscribe handler: Outlook to BigQuery integration

Ready for 3.0

by Robert Breen ✓ · 935 views · created 2025-07-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 12 nodes and runs on a schedule (every 4 hours). Along the way it connects Google BigQuery and Microsoft Outlook.

How it runs

Trigger: On a schedule (every 4 hours).

  1. Today & 7 Days Ago (Code): runs custom JavaScript code
  2. Query Bigquery for all Unsubscribes (Google BigQuery): uses Google BigQuery
  3. Get Emails in Past 7 Days (Microsoft Outlook): work with folder message
  4. Edit Fields (Edit Fields (Set)): sets 1 field: queryemail
  5. Filter: keeps only the items that match a condition
  6. Keep Only New Unsubs (Merge): merges the data from its input branches
  7. Edit Fields (Edit Fields (Set)): sets 1 field: email
  8. Aggregate to email level (Summarize): summarizes / groups the items
  9. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  10. Summarize: summarizes / groups the items

…plus 1 more step. See the full node list below.

Services it uses

Google BigQueryMicrosoft Outlook

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

From the author

🚫 Email Unsubscribe Handler for Outlook Description This n8n workflow automatically scans recent email replies from your Outlook inbox and identifies unsubscribe requests. If a contact replies with any variation of "unsubscribe" within the past 7 days, the…

Excerpt from Robert Breen'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.