Monitor app errors and heartbeats with OpenAI triage and Gmail alerts
Ready for 3.0What this workflow does
This AI workflow has 42 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Gmail and OpenAI Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Settings (Edit Fields (Set)): sets 8 fields: yourEmail, useAI, aiLanguage…
- What started the run? (Switch): routes items into 4 branches
- Read the watched apps (Data table): get (row)
- Read the apps to check (Data table): get (row)
- Email me: workflow stopped (Gmail): send (message)
- Create the table Watched apps (Data table): create (table)
- Check the request (Code): runs custom JavaScript code
- Who went silent (Code): runs custom JavaScript code
- Digest today? (Code): runs custom JavaScript code
- Create the table App events (Data table): create (table)
…plus 26 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 (14)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow centralizes app error and heartbeat monitoring through a single webhook, uses OpenAI to triage new error types, stores state in n8n Data Tables, and sends Gmail alerts for urgent issues, repeated failures (escalation), back-online…