Queue Triggers: Adding and Setting

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:

Connected Account

Before adding a Queue Trigger, you need to connect a Queue-type connected account.

Since this is a specific account type for the Queue Trigger, its configuration and editing must only be done in the Flow Settings area.

To configure it, follow these steps:

  1. Click on "Settings".

  2. In the "Connected Account" tab, click on "Add account".

  3. In "Manage Connected Accounts," select the "Queue" option.

  4. Next, choose the queue type. Currently, we have two types: Google Pub/Sub and RabbitMQ.

  5. 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:

  1. Click "Add Account".

  2. 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:

Entity
Permissions

Subscription

Pub/Sub Subscriber e Pub/Sub Viewer

Topic

Pub/Sub Viewer

Add Queue Trigger

To add a Queue Trigger, follow these steps:

  1. Click on "Start with a trigger."

  2. Click the plus sign next to the Queue Trigger option. This will open a modal to configure it and view more information.

  3. This modal is divided into two areas: Header and Settings.

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.

Last updated