> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/tools/virtual-output.md).

# 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="Screenshot of the MESA Queue tool added as a step in a workflow in the builder. Spotlight the Queue step."><figcaption></figcaption></figure>

The Queue has 8 time options.

<figure><img src="/files/Vf1MNViDBbovyhL0AGVM" alt="Screenshot of the MESA Queue tool Configure showing the 8 time interval options. Spotlight the time interval dropdown."><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="Screenshot of an example MESA workflow where created orders are collected into the Queue and then a Google Sheets spreadsheet is created. Spotlight the Queue step in the workflow."><figcaption></figcaption></figure>
