Templates / Guard AI marketing email runs with FirstHelm, OpenAI, Gmail and Google Sheets

Guard AI marketing email runs with FirstHelm, OpenAI, Gmail and Google Sheets

Ready for 3.0

by Jason Bullen · 14 views · created 2026-10-26 · Content Creation, Multimodal AI

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 19 nodes and runs on Gmail events (specific label). Along the way it connects Gmail, OpenAI, Google Sheets and Slack. It also calls firsthelm.dev over HTTP.

How it runs

Trigger: On Gmail events (specific label).

  1. Set Request Details (Edit Fields (Set)): sets 4 fields: requester_email, subject, body…
  2. Post Log for Run Request (HTTP Request): calls firsthelm.dev (POST)
  3. Post to Evaluate Budget Constraint (HTTP Request): calls firsthelm.dev (POST)
  4. Parse Budget-Gate Verdict (Code): runs custom JavaScript code
  5. Check Approval for AI Run (If): checks a condition and branches into true / false
  6. OpenAI: uses OpenAI
  7. Check if Budget Approval Needed (If): checks a condition and branches into true / false
  8. Build Run Financial Record (Code): runs custom JavaScript code
  9. Post Approval Request to FirstHelm (HTTP Request): calls firsthelm.dev (POST)
  10. Notify Slack for Budget Block (Slack): post (message)

…plus 8 more steps. See the full node list below.

Services it uses

GmailOpenAIGoogle SheetsSlack

HTTP calls to: firsthelm.dev

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Marketing Email Received).

Nodes used (10)

From the author

Quick overview This workflow monitors Gmail emails labeled MARKETING and uses FirstHelm to enforce a budget guardrail before generating marketing copy with OpenAI, then emails approved results back to the requester, logs spend to Google Sheets, and notifies…

Excerpt from Jason Bullen'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.