Manage incident reporting in PagerDuty and CrateDB
Needs changesWhat this workflow does
This workflow has 9 nodes and runs on AMQP events. Along the way it connects AMQP Sender, CrateDB and PagerDuty.
How it runs
Trigger: On AMQP events.
- Data enrichment (°C to °F) (Function): runs custom JavaScript (legacy Function node)
- Values higher than 50°C (If): checks a condition and branches into true / false
- Set sensor data (Edit Fields (Set)): sets or maps fields
- Create an incident (PagerDuty): uses PagerDuty
- Ingest machine data (CrateDB): uses CrateDB
- Set incident info (Edit Fields (Set)): sets or maps fields
- Ingest incident data (CrateDB): uses CrateDB
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Data enrichment (°C to °F): replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2020 — 25% of templates published before 2025 need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Data enrichment (°C to °F) | Code node, mode 'Run Once for All Items' |
Rarely used nodes in this template: n8n-nodes-base.amqpTrigger, n8n-nodes-base.crateDb
Nodes used (7)
- If
n8n-nodes-base.if - AMQP Trigger
n8n-nodes-base.amqpTrigger - Edit Fields (Set)
n8n-nodes-base.set - CrateDB
n8n-nodes-base.crateDb - PagerDuty
n8n-nodes-base.pagerDuty - Function
n8n-nodes-base.function - No Operation, do nothing
n8n-nodes-base.noOp
From the author
This workflow automatically monitors the functionality of a factory. The workflow logs machine data coming from factory sensors in a CrateDB database, generates an incident report in PagerDuty, and notifies the responsible staff members when the temperature…