Guard AI marketing email runs with FirstHelm, OpenAI, Gmail and Google Sheets
n8n · Marketing · checked 2026-10-29
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 approvers in Slack when human approval is required. How it works Triggers every 5 minutes when a new Gmail message arrives with the MARKETING label. Logs the requested run to FirstHelm and calls FirstHelm’s constraint evaluation endpoint with an estimated cost to get an allowed, needs approval, or blocked verdict. If the verdict is allowed, it generates the marketing email copy with OpenAI and calculates token usage and an estimated cost for auditing.
At a glance
- Brand
- n8n
- Jobs
- Marketing
- Sources
- 1
Dimensions
- Brands: n8n
- Agents: n8n · Visit via /go/
- Occupations: Marketing
- Industries: cross-industry
- Tasks: inbox, ops, approvals
Sources
- https://n8n.io/workflows/21810 · fetched 2026-10-29 — “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 appr”
Last checked 2026-10-29. Description source: harvest.