Templates / Manage incident reporting in PagerDuty and CrateDB

Manage incident reporting in PagerDuty and CrateDB

Needs changes

by Harshil Agrawal ✓ · 1,060 views · created 2020-08-12 · Engineering

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. Data enrichment (°C to °F) (Function): runs custom JavaScript (legacy Function node)
  2. Values higher than 50°C (If): checks a condition and branches into true / false
  3. Set sensor data (Edit Fields (Set)): sets or maps fields
  4. Create an incident (PagerDuty): uses PagerDuty
  5. Ingest machine data (CrateDB): uses CrateDB
  6. Set incident info (Edit Fields (Set)): sets or maps fields
  7. Ingest incident data (CrateDB): uses CrateDB

Services it uses

AMQP SenderCrateDBPagerDuty

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.0Replace 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)

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…

Excerpt from Harshil Agrawal'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.