Package Information
Documentation
n8n-nodes-azure-service-bus
This is an n8n community node. It lets you use Azure Service Bus in your n8n workflows.
Azure Service Bus is a fully managed enterprise message broker offering message queues and publish-subscribe topics for reliable and scalable asynchronous messaging.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
- Azure Service Bus Trigger: Listens for messages on a specified queue and starts a workflow.
Credentials
To use this node, you need to configure credentials with an Azure Service Bus Connection String.
In the Azure Portal, navigate to your Service Bus Namespace.
In the left-hand menu, under Settings, click on Shared access policies.
Select a policy that has the required permissions.
- For the trigger node, the policy must have the Listen permission.
Copy the Primary Connection String and paste it into the credentials field in n8n.
Usage
This trigger node implements an "On Successful Execution" acknowledgment logic. This means:
- When a message is received, it starts a workflow and the message is locked in the queue (made invisible).
- If the workflow finishes successfully, the message is completed and removed from the queue.
- If the workflow fails (for example, by using a Stop and Error node or due to a node crash), the message is abandoned and will reappear in the queue to be processed again after its lock expires.
This ensures that messages are only removed from the queue after they have been processed successfully.