- Home
- Resources
- Integrations
- AMQP Sender
AMQP Sender n8n integrationAutomate AMQP Sender with n8n.
Your workflows can talk to a message broker, not only to an HTTP API. The AMQP Sender n8n integration pairs one publishing node, carrying 1 operation, with the AMQP Trigger that listens on a queue or a topic. It suits teams already running an AMQP 1.0 broker such as ActiveMQ.
Verified Trustpilot reviews · AI, automation & growth agency
What does the AMQP Sender n8n integration actually do?
The AMQP Sender n8n integration connects a workflow to a message broker that speaks AMQP 1.0, the open protocol behind queuing and routing systems like ActiveMQ. Two nodes ship with n8n for it. The AMQP Sender publishes a raw message to a queue or a topic, once per item. The AMQP Trigger starts a workflow when a message lands on the queue or topic it listens to. Both run on the same credential, called AMQP connection.
Start with the send side. A workflow collects readings from a machine, formats them, and hands each row to the AMQP Sender, which publishes one message per item on a topic. That is the shape of template 608, which generates factory sensor data and queues it in AMQP. The consumers on the other end never talk to n8n, they read the topic.
Second shape, n8n as the producer of a live feed. Template 762 chains a node that fetches the position of the ISS with an AMQP Sender that pushes those coordinates to an ActiveMQ topic. Same pattern for a price, a stock level, or a status you already pull somewhere in a workflow.
Third shape, the mirror image. The AMQP Trigger listens on a queue and each message becomes an item you can route. From there the usual destinations take over: a row in Postgres, a document in MongoDB, a line in Google Sheets for the people who read the numbers, or a message in Slack when something needs a human.
One point deserves a pause, because it changes how you plan a project. The AMQP credential opens a connection to your broker. It is not an HTTP API, and that is a real difference: with an HTTP based app, anything the node leaves out sends you to a generic request node. Here there is nothing generic to fall back on. The AMQP Sender and the AMQP Trigger are the surface, and what they expose is what a workflow can do.
Two more things before you build. The broker is yours to run: n8n expects an AMQP 1.0 compatible one, and ActiveMQ is the example its documentation names. And n8n publishes no delivery mechanism for the AMQP Trigger, so build on the rule that does hold, the workflow must be active for the trigger to listen. If you are weighing platforms for this kind of plumbing, the n8n review covers the self-hosting question in detail.
How do you connect n8n to your AMQP broker?
- 01
Get an AMQP 1.0 broker running
This is the prerequisite the n8n documentation states plainly: install an AMQP 1.0 compatible message broker. ActiveMQ is the example it points to, and the AMQP Products list covers the other options. Both nodes talk to that broker, so nothing works until it is up and reachable from the machine running n8n. On n8n Cloud, that means reachable from the internet.
- 02
Create the AMQP credential
In n8n, open the Credentials menu and pick AMQP connection, the only authentication method these nodes accept. Four values are asked for. Hostname is the address of your message broker. Port is the port number the connection should use. User is the name of the user to establish the connection as, and Password is that user's password. On ActiveMQ, the documented default for both is
admin. - 03
Set the transport and reuse the credential
Transport Type is optional and accepts
tcportls, nothing else. Fill it when your broker expects an explicit transport, leave it empty otherwise. A credential is created once and reused everywhere: open the AMQP Sender or the AMQP Trigger, pick it from the dropdown, and both nodes are authenticated. Save it before you leave the form.
What starts a workflow on the listening side?
AMQP Trigger is the node that starts a workflow when something happens in AMQP Sender. Activate the workflow and every event it receives becomes one execution.
What you see in n8n
Configuration notes
01Set up the AMQP Trigger
The AMQP Trigger subscribes to a queue or a topic on your broker and starts the workflow when a message arrives on it. The node runs on version 1 and takes the same AMQP credential as the sender. n8n documents no delivery mechanism for it, so the rule to build on is the operational one: the workflow has to be active for the trigger to listen.
Key parameters
- Queue / Topic: the name of the queue or topic to listen to, written the way your broker names it.
- Clientname: leave it empty for non-durable topic subscriptions or queues.
- Subscription: same rule, empty for non-durable topic subscriptions or queues.
- Container ID: passed to the RHEA backend as its container_id.
02Shape the incoming message
A message arriving from a broker is not a tidy JSON item yet. Three options on the trigger decide what the next node receives, and getting them right saves a pile of parsing steps later on.
Key parameters
- JSON Parse Body: parses the body into an object, so your following nodes read fields instead of a string.
- Only Body: returns only the body property, dropping the rest of the message envelope.
- Convert Body To String: converts the JSON body content from a byte array to a string, which the documentation flags as needed for Azure Service Bus.
03Tune throughput and reconnection
The remaining options govern how much the trigger takes at a time and what happens when the link to the broker drops. They matter on a busy queue, and they are worth setting before you put a workflow into production.
Key parameters
- Messages per Cicle: the number of messages to pull from the bus for every cicle.
- Sleep Time: milliseconds to sleep after every cicle.
- Parallel Processing: processes messages in parallel rather than one after another.
- Reconnect: reconnects automatically if the connection drops, with Reconnect Limit capping the number of attempts.
What the AMQP Sender node does
The AMQP Sender node exposes one operation. For each one: the node as you configure it in n8n, the required fields, and our field notes.
Operations index
Sends a raw-message via AMQP 1.0, executed once per item
executeWhat you see in n8n
Notes & use cases
The single operation takes the current item and publishes it as a raw message on your broker, once per item.
Key parameters
- Queue / Topic: the destination on the broker, written as your provider expects it, for example
topic://sourcename.something. - Headers: header parameters as a flat JSON object, sent as application_properties in the message meta info.
- Send Property: the only property to send; empty, and the whole item goes out.
- Data as Object: sends the data as an object.
topic://sourcename.something, and leave Send Property empty so the whole item goes out as the message. That is exactly how template 608 turns each row of sensor data into one message on the topic.Need help automating AMQP Sender with n8n?
A person reads every message.
AMQP Sender and n8n, answered
01Is the AMQP Sender n8n integration free?
02What credentials does the AMQP Sender node need?
03What are the limits of the AMQP nodes in n8n?
04Does the AMQP Trigger react in real time?
05n8n or Make for an AMQP broker?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



