# Templates

## Ready-Made and Customizable

Create workflows effortlessly with MESA by starting with one of our many pre-built templates.

MESA templates are pre-built workflows featuring a trigger and one or more actions that simplify your workflow creation. They’re an ideal starting point, and because they’re fully customizable, they can easily be adapted to suit your specific requirements.

<div align="center"><img src="/files/Ds6M5oCISSTmcltVALqc" alt=""></div>

## Template Library

Discover the **Template Library** to find pre-designed workflows that align with your automation goals. If you’re looking for inspiration or are uncertain how or where to start, MESA's library of templates should be your go-to spot.&#x20;

<figure><img src="/files/91eFaPGcjeGJ3YH6T7xp" alt=""><figcaption></figcaption></figure>

Once you've selected a template to try, click **View** for details or hit **Add template** to dive in.

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

## Installing & Editing

### Setting Up <a href="#installing-a-pre-built-workflow-template" id="installing-a-pre-built-workflow-template"></a>

Let's install a template together! One popular MESA use case is tagging customers as "VIP" after they spend $500 or more.&#x20;

After selecting "Start with this templat&#x65;**,**" you'll be directed to a screen highlighting the workflow's details.&#x20;

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

This template uses our setup wizard, which helps walk you through the next steps of setting up and making any adjustments to this template.&#x20;

{% hint style="info" %}
Some templates will have setup instructions instead of a setup wizard. If so, you'll be taken straight to the workflow builder.
{% endhint %}

For example, you can change $500 to $1,000 based on your VIP program. Don't want to call them a "VIP"? You can also customize that tag!

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

You can select **More Options** within each step to further customize the step with optional fields.

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

In this example, we are adding additional rules to the **Filter** step:&#x20;

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

Perhaps the template is close, but not quite how you want it. You can add or remove steps from any template to customize it to your requirements.

For example, if you wanted to to add an extra step to notify the customer, you could add an **Email** step to the end of the workflow.

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

Alternatively, if tagging the customers is irrelevant to your process, you can even completely remove the **Customer Add Tag** step to replace it with an entirely different step that would fit your needs.

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

For example, you can replace the **Customer Add Tag step** to send information over to a Google Sheet. Hover over the arrow where you want to add the step, then select **Action**. &#x20;

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

When the search bar pops up, you can search for Google to populate the different actions offered for it.

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

If you already have a Google Sheet that you would like to use, you can select the **Add Row** action.&#x20;

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

Once you've completed setting up the template to fit your needs, you are ready to [**run a test**](/workflow-builder/testing.md)**.** 🎉

<figure><img src="/files/3WQtyqigCmbEC1D9StXF" alt=""><figcaption></figcaption></figure>

### Resources

There will be corresponding instructions for each template offered in our library to help provide guidance.&#x20;

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

These instructions will appear on the right-hand side of the screen or when you select "[Help](https://www.getmesa.com/support)" while in the workflow.

<figure><img src="/files/9zWtfxtWRVCz8X3sGA6K" 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/templates.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.
