# Xero

### Connect Xero with MESA <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Xero, you will need to connect Xero with MESA. Click on the **Connect with Xero** button.

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

You will brought to a screen with MESA asking for permissions. Click on **Allow access**.

Afterwards, you will be brought back to your current workflow and you are all set! MESA is now connected with your Xero account.

***

{% hint style="info" %}
If you are seeing a *Could not identify your Xero account* error when your workflow runs, you will want to make sure that you only have one Xero connection per Xero account in MESA at a time. This indicates that you might have more than one Xero connection.
{% endhint %}

1\. To resolve this, login into your Xero account: <https://login.xero.com/>

2\. From the top right hand corner, click on the 9 dotted icon and **Manage app connections**.

3\. Locate the connected app MESA and click to **Disconnect** it and confirm to **Disconnect** it again.

4\. Once MESA is no longer a connected app, you will want to [connect Xero with MESA](#connect) again.

### Technical Notes <a href="#configuring" id="configuring"></a>

### I don't see my Xero workflow activating when I update something in Xero? <a href="#trigger" id="trigger"></a>

MESA workflows that contain Xero [Triggers](/workflow-builder/triggers.md) (such as **Contact Updated**) will run on a polling system. Meaning, on every hour or whatever the selected frequency is selected in your MESA workflow, MESA will look for any recent activity in Xero. As a result, you may not see immediate activity in your MESA workflow until the frequency hits.

In Xero triggers, you can find the polling system by selecting the **More Options** button, then the **Schedule** field.

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

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

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

You can keep the default frequency or adjust it. Once the frequency hits, MESA will process every single task that has accrued within the previous timeframe.


---

# 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/connect/xero.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.
