Send daily ops digests and age-based anomaly alerts with OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every day at 08:00). Along the way it connects OpenAI and Gmail.
How it runs
Trigger: On a schedule (every day at 08:00).
- Fetch Sales Source (HTTP Request): calls an HTTP API (GET)
- Normalize Sales Source (Code): runs custom JavaScript code
- Fetch Support Source (HTTP Request): calls an HTTP API (GET)
- Normalize Support Source (Code): runs custom JavaScript code
- Fetch Calendar Source (HTTP Request): calls an HTTP API (GET)
- Normalize Calendar Source (Code): runs custom JavaScript code
- Fetch Finance Source (HTTP Request): calls an HTTP API (GET)
- Normalize Finance Source (Code): runs custom JavaScript code
- Aggregate Digest Inputs (Code): runs custom JavaScript code
- Draft Ambient Summary (OpenAI): response (text)
…plus 9 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if
From the author
Quick overview This workflow runs every morning to fetch sales, support, calendar, and finance operational metrics via HTTP endpoints, summarizes the deterministic status with OpenAI, emails a daily digest via Gmail, and sends a separate throttled Gmail alert…