# Create a Xero contact with a monday.com action

Use the Create contact action in a monday.com board automation to create a new Xero contact or link an existing exact match from any supported board trigger.

Create a new Xero contact—or link an existing exact match—from any supported monday.com board trigger on a top-level item using Xero Integration Plus's **Create contact** action. The walkthrough below uses an onboarding approval status as an example.

> *Note:* **Create contact** never overwrites an existing contact's fields. To edit an existing contact, use [Update a linked Xero contact](/docs/sync-for-xero-monday/manage-xero-contacts/update-contact-automation).

## How the Create contact action works

To use Xero Integration Plus's **Create contact** action, build a monday.com board automation that starts with a trigger on a supported top-level item—such as a status change, column change, button click, or new item created (with optional conditions)—and selects **Create contact** under **Then do this**. Browse monday.com's [available automation actions](https://support.monday.com/hc/en-us/articles/360001222900-Get-started-with-monday-automations#01GQVFF2FYZ71K2E0PW2M7VK5Q), and check monthly plan quotas in [monday.com automation actions and limits](https://support.monday.com/hc/en-us/articles/360017556179-Automation-and-Integration-actions-and-limits).

- **Match before creating (find by):** Searches Xero for an active contact by **Contact name** (default), **Email**, **Phone**, or **Xero Contact ID** to prevent duplicates.

- **Field mappings:** Sends the required **name** field for new contacts plus optional **email**, phone, or address columns from the triggering row.

- **Link without overwriting:** Links a single exact existing match to the monday.com row while keeping its existing Xero fields unchanged.

- **Organization and error logging:** Runs in your chosen **Xero organization** and writes any failed run message to your selected `Action error` column.

## Before you start

- [Install Xero Integration Plus](https://monday.com/marketplace/listing/10000872/xero-integration-plus?utm_source=boostplugins&utm_medium=docs&utm_campaign=xero-contacts&utm_content=create-contact-automation) and finish [shared contacts setup](/docs/sync-for-xero-monday/manage-xero-contacts#before-you-start).

- Keep one top-level board row per customer or onboarding request.

- Add columns for customer name, billing email, approval status, and errors (example: `Customer Name`, `Billing Email`, `Onboarding`, `Action error`).

![monday.com board row for Coco Cafe Events with the Onboarding status column set to Approved](/_emdash/api/media/file/01M8TVHCT4ZZE9QZPZEPH7RGS0.png)

## Create the automation

### Set the trigger and lookup

1. Open **Automate** > **Create from scratch** on your onboarding board ([monday.com custom automation guide](https://support.monday.com/hc/en-us/articles/360012254440-Build-your-own-custom-automation)).

1. Choose any supported trigger—for this example, when **Onboarding** changes to **Approved**.

1. Add **Create contact** under **Xero Integration Plus**.

1. Set **find by** to **Contact name** and map it to `Customer Name`.

![Board automation rule triggered when onboarding status changes to Approved, configured to create a Xero contact if missing by contact name and write errors to an action error column.](/_emdash/api/media/file/01M8W95FS08ZDHR8KCA0ER04Y8.png)

### Map fields and test

1. Map the required **name** field (for creating a new contact) to `Customer Name`, map optional **email**, phone, or address columns as needed, select your **Xero organization** and `Action error` column, then save.

1. Approve one test row (example: `Coco Cafe Events` with `billing@example.com`).

## Check it worked

1. Confirm `Action error` stays blank on the test row.

1. Open **Contacts** > **All contacts** in the same Xero organization and confirm the **Contact ID** matches the linked monday.com item. On a new contact, verify the mapped name and email saved; on an existing match, verify the existing Contact ID linked with its prior fields unchanged.

![Xero Integration Plus item view displaying the linked Xero contact record and billing email for the approved monday.com item.](/_emdash/api/media/file/01M8W95FS2HQWC5PC6XBBHVR5C.png)

## If something goes wrong

- **Contact exists, but email did not change:** **Create contact** only links existing matches. Use [Update contact](/docs/sync-for-xero-monday/manage-xero-contacts/update-contact-automation) to edit fields.

- **Two active contacts share the same name:** Duplicate exact names stop the run so Xero never links the wrong account. See [Match and recover records](/docs/sync-for-xero-monday/match-and-recover-records#if-something-goes-wrong).

- **No link appears:** Search Xero first so you do not create a duplicate, then follow [Fix common errors](/docs/sync-for-xero-monday/match-and-recover-records#if-something-goes-wrong).

## See also

- [Manage Xero contacts from monday.com](/docs/sync-for-xero-monday/manage-xero-contacts)

- [Update a linked Xero contact from a monday.com board](/docs/sync-for-xero-monday/manage-xero-contacts/update-contact-automation)
