# Queue

The **Queue** tool acts like a queue, which allows you to process [Triggers](/workflow-builder/triggers.md) and workflows into it and then resume based on a time interval at the end of a workflow. Depending on the repeat schedule, the Queue will run again since its previous session.

You can think of the Queue as a fishing net with a timer. The fishing net is left alone to catch fish (in this case, triggers and workflows), and every time the timer goes off, you collect all of the fish in the fishing net since the last time you put it out (in this case, MESA runs all the collected Triggers and workflows). Then, repeat!

<figure><img src="/files/qWavD6Z7pKg4XJBrEoFf" alt=""><figcaption></figcaption></figure>

The Queue has 8 time options.

<figure><img src="/files/Vf1MNViDBbovyhL0AGVM" alt=""><figcaption></figcaption></figure>

In the example below, after an order is created, MESA will map the data values accordingly and collect all the orders into the Queue. Once the Queue runs, MESA will create a Google Sheets spreadsheet with all of the orders from the day.

<figure><img src="/files/Xi9JZIjKIFnHpVtMKhnm" alt=""><figcaption></figcaption></figure>


---

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

```
GET https://docs.getmesa.com/tools/virtual-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
