Queue Triggers: Adding and Setting
Last updated
Last updated
The queue trigger is a feature that allows you to start a flow through messaging services, such as Google Pub/Sub and RabbitMQ.
Here’s how to add and configure a Queue Trigger:
Before adding a Queue Trigger, you need to connect a Queue-type connected account.
To configure it, follow these steps:
Click on "".
In the "Connected Account" tab, click on "Add account".
In "Manage Connected Accounts," select the "Queue" option.
Next, choose the queue type. Currently, we have two types: Google Pub/Sub and RabbitMQ.
Click on the tab for the selected type and complete the configuration:
After selecting Google Pub/Sub, if a previously connected account has been registered, it will be displayed in a list, allowing you to select it.
If you prefer, you can also create a new account. To do this, follow the steps below:
Click "Add Account".
To add a Google Pub/Sub account, you will need to fill in the following fields:
Account Name: Choose a name for the account.
Key: Upload the JSON key by clicking on the upload icon.
Check permissions:
Subscription
Pub/Sub Subscriber e Pub/Sub Viewer
Topic
Pub/Sub Viewer
To add a Queue Trigger, follow these steps:
Click on "Start with a trigger."
Click the plus sign next to the Queue Trigger option. This will open a modal to configure it and view more information.
This modal is divided into two areas: Header and Settings.
Fill in or select the following fields on the Queue Trigger screen:
Connected Account: Choose a previously registered connected account. Depending on the selected type, follow the instructions:
Fill in according to your Google Pub/Sub details:
Topic
Subscription
Message: Value that simulates the message that will be received by the trigger.
Finally, you can click the "Test Connection" button to check if the configuration is correct.
.