Smart Factory Use Case

Automated workflow: Smart Factory Use Case. This workflow processes data and performs automated tasks.

Integrations Used (3)

Workflow Structure (10 nodes)
100%
If
Values higher than 50°C
Pager Duty
Create an incident
Set
Set incident info
Crate Db
Ingest incident data
Stop And Error
Error Handler
Amqp Trigger
Data from factory sensors
Function
Data enrichment (°C to °F)
Set
Set sensor data
No Op
Do nothing
Crate Db
Ingest machine data
Node Types:
logic
trigger
transform
default
code
Requires credentials

Prerequisites

Required Credentials (3)

Amqp

Used by: Data from factory sensors

Docs

Crate Db

Used by: Ingest machine data, Ingest incident data

Docs

Pager Duty

Used by: Create an incident

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~50 min
Score: 65/100
Custom Code
Conditional Logic
5 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "168",
  "name": "Smart Factory Use Case",
  "nodes": [
    {
      "name": "Values higher than 50°C",
      "type": "n8n-nodes-base.if",
      "position": [
        250,
        550
      ],
      "parameters": {
        "conditions": {
          "number": [
            {
              "value1": "={{$node[\"Data from factory sensors\"].json[\"body\"][\"temperature_celsius\"]}}",
              "value2": 50,
              "operation": "largerEqual"
            }
          ]
...

Workflow Details

Nodes
10
Trigger
Event
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Receive messages for an ActiveMQ queue via AMQP Trigger

Automated workflow: Receive messages for an ActiveMQ queue via AMQP Trigger. This workflow processes data and performs a...

Amqp
2 nodesEvent

API Schema Extractor

Stage 1 - Research for API Documentation - Fetch a list of services pending research from Database (Google Sheet) - Uses...

Http-request
Textsplitterrecursivecharactertextsplitter
Documentdefaultdataloader
Executeworkflow
88 nodesEvent
Curated

Automate SIEM Alert Enrichment with MITRE ATT&CK, Qdrant & Zendesk in n8n

![n8n](https://uploads.n8n.io/templates/qdrantlogo.png) Embed your Vector Store To provide data for your Vector store,...

Chat
Agent
Lmchatopenai
Embeddingsopenai
26 nodesEvent
Curated

Enhance Customer Chat by Buffering Messages with Twilio and Redis

Step 2. Buffer Incoming Messages [Learn more about using Redis](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-n...

Lmchatopenai
Redis
Memorybufferwindow
Twilio
18 nodesEvent
Curated

Classify new bugs in Linear with OpenAI s GPT-4 and move them to the right team

When does this fire? In our setup we have a general team in Linear where we post new tickets to. Additionally, the bug n...

Linear
Http-request
Slack
Openai
12 nodesEvent
Curated

Integrating AI with Open-Meteo API for Enhanced Weather Forecasting

Integrating AI with Open-Meteo API for Enhanced Weather Forecasting Use case Workshop We are using this workflow in ou...

Chat
Lmchatopenai
Agent
Memorybufferwindow
12 nodesEvent
Curated