> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/english/skyone-studio/integrations/flows/triggers-of-a-flow/queue-triggers-adding-and-setting.md).

# 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.

{% hint style="info" %}
Since this is a specific account type for the Queue Trigger, its configuration and editing must only be done in the Flow Settings area.
{% endhint %}

To configure it, follow these steps:

1. Click on "[**Settings**](/english/skyone-studio/integrations/flows/flow-management/flow-canva-configuring-and-editing-the-flow.md)**".**&#x20;
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:

{% tabs %}
{% tab title="Google Pub/Sub" %}
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.

<figure><img src="/files/4NZ7mi4ME2r205L9EYl6" alt=""><figcaption></figcaption></figure>

**Check permissions:**

| Entity       | Permissions                         |
| ------------ | ----------------------------------- |
| Subscription | Pub/Sub Subscriber e Pub/Sub Viewer |
| Topic        | Pub/Sub Viewer                      |
| {% endtab %} |                                     |

{% tab title="RabbitMQ" %}
After selecting RabbitMQ, 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 RabbitMQ account, you will need to fill in the following fields:
   * **Account Name**: Choose a name for the account;
   * **Hostname**;
   * **Port** (optional);
   * **Vhost** (optional);
   * **User**;
   * **Password**.

<figure><img src="/files/U3m3cobM9gyXVif5CoqB" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

### 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**.

   <figure><img src="/files/0VgoqXnGiNvDJfqZVQVz" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
[Find out about the Module Header here](/english/skyone-studio/integrations/flows/module-header.md).
{% endhint %}

#### 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:

{% tabs %}
{% tab title="Google Pub/Sub" %}
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.

<figure><img src="/files/rzEGHfssF3V30Dc6kzsE" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="RabbitMQ" %}
Fill in according to your RabbitMQ details:

* **Exchange**:
* **Queue**:
* **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.

<figure><img src="/files/lywXdSrO5jSpiZ7w1bPq" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.skyone.cloud/english/skyone-studio/integrations/flows/triggers-of-a-flow/queue-triggers-adding-and-setting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
