AutomationFlowsGeneral › Generate Smart Factory Data via AMQP

Generate Smart Factory Data via AMQP

Original n8n title: Smart Factory Data Generator

Smart Factory Data Generator. Uses interval, amqp. Manual trigger; 3 nodes.

Manual trigger★☆☆☆☆ complexity3 nodesAmqp
General Trigger: Manual Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "167",
  "name": "Smart Factory Data Generator",
  "nodes": [
    {
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        650,
        300
      ],
      "parameters": {
        "values": {
          "number": [],
          "string": [
            {
              "name": "machine_id.name",
              "value": "n8n_cr8"
            },
            {
              "name": "temperature_celsius",
              "value": "={{Math.floor(Math.random() * 100);}}"
            },
            {
              "name": "machine_id.uptime",
              "value": "={{Math.floor(Math.random() * 100);}}"
            },
            {
              "name": "time_stamp",
              "value": "={{Date.now();}}"
            }
          ],
          "boolean": []
        },
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Interval",
      "type": "n8n-nodes-base.interval",
      "position": [
        450,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "AMQP Sender",
      "type": "n8n-nodes-base.amqp",
      "position": [
        850,
        300
      ],
      "parameters": {
        "sink": "berlin_factory_01",
        "options": {
          "dataAsObject": true
        }
      },
      "credentials": {
        "amqp": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "AMQP Sender",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Interval": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Smart Factory Data Generator. Uses interval, amqp. Manual trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Archive Spotify S Discover Weekly Playlist. Uses spotify, scheduleTrigger. Scheduled trigger; 7 nodes.

Spotify
General

Manual Schedule. Uses manualTrigger, n8n, scheduleTrigger, noOp. Event-driven trigger; 7 nodes.

n8n
General

This workflow will archive your Spotify Discover Weekly playlist to an archive playlist named "Discover Weekly Archive" which you must create yourself. If you want to change the name of the archive pl

Spotify
General

Activity Encouragement. Uses strava, noOp, emailSend. Scheduled trigger; 6 nodes.

Strava, Email Send
General

Execute a command that gives the hard disk memory used on the host machine. Uses executeCommand, twilio, noOp. Scheduled trigger; 5 nodes.

Execute Command, Twilio