Skip to content
Xero logoXero logo

Xero Integrations

Premium

Accounting

Build Xero automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Xero and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
18
available app actions
38
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Xero MCP server: connect Xero to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Xero and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Xero account and help me build a Zap with Xero: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Xero automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection xero

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Xero and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Xero and other apps.

Use a premade Xero automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Xero triggers and actions your agent can build with right away.

  • New Bank Transaction

    Triggers when a new bank transaction is created.

  • New Bill

    Triggers when you add a new bill. (Accounts Payable).

  • New Contact

    Triggers when you add a new contact.

  • New Credit Note

    Triggers when a new credit note is created.

  • New Employee

    Triggers when a new employee is created (Exclusively for Australian Instances).

  • New Report

    Triggers when you run or refresh one of the selected Xero report types (Balance Sheet, Profit & Loss, etc.).

  • Overdue Sales Invoice

    Triggers when a sales invoice is overdue by a specified number of days.

  • New Payment

    Triggers when you receive a new payment.

Your agent picks the right Xero action from what you ask. Connect Zapier once and it can use 55 Xero tools, each with typed inputs. Zapier handles Xero’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Xero MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Xero.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Xero. It calls discover_zapier_actions to find the Xero actions, then enable_zapier_action to add them.
  3. Approve the Xero sign-in when prompted. If Xero isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Xero in 36 AI tools with Zapier MCP

55 Xero MCP tools

ToolMCP nameWhat it does
New Bank Transactionxero_new_bank_transaction

Trigger · Read-only. Triggers when a new bank transaction is created.

Required: organization

New Billxero_new_bill

Trigger · Read-only. Triggers when you add a new bill. (Accounts Payable).

Required: organization

Optional: status

New Contactxero_new_contact

Trigger · Read-only. Triggers when you add a new contact.

Required: organization

New Credit Notexero_new_credit_note

Trigger · Read-only. Triggers when a new credit note is created.

Required: organization

Optional: status, type

New Employeexero_new_employee

Trigger · Read-only. Triggers when a new employee is created (Exclusively for Australian Instances).

Required: organization

New Reportxero_new_report

Trigger · Read-only. Triggers when you run or refresh one of the selected Xero report types (Balance Sheet, Profit & Loss, etc.).

Required: organization, reportType (Report Type)

Overdue Sales Invoicexero_overdue_sales_invoice

Trigger · Read-only. Triggers when a sales invoice is overdue by a specified number of days.

Required: organization, days_overdue

New Paymentxero_new_payment

Trigger · Read-only. Triggers when you receive a new payment.

Required: organization

Optional: payment_type

New Payslipxero_new_payslip

Trigger · Read-only. Triggers when a new payslip is created.

Required: organization

Optional: payrun_status (PayRun Status), payrun_period_start_date (PayRun Period Start Date), payrun_period_end_date (PayRun Period End Date)

New Projectxero_new_project

Trigger · Read-only. Triggers when a new project is created. May not trigger if there are more than 500 projects.

Required: organization

Optional: state (Project State)

New Purchase Orderxero_new_purchase_order

Trigger · Read-only. Triggers when a new purchase order is created or enters a status for the first time.

Required: organization

Optional: status (Purchase Order Status)

New Quotexero_new_quote

Trigger · Read-only. Triggers when a new quote is created.

Required: organization

Optional: status (Quote Status)

New Reconciled Paymentxero_new_reconciled_payment

Trigger · Read-only. Triggers when a payment is reconciled for the first time.

Required: organization

Optional: payment_type

New Sales Invoicexero_new_sales_invoice

Trigger · Read-only. Triggers when a new Sales Invoice (Accounts Receivable) is created.

Required: organization

Optional: status

New or Updated Contactxero_new_or_updated_contact

Trigger · Read-only. Triggers when a contact is created or updated.

Required: organization

Updated Employeexero_updated_employee

Trigger · Read-only. Triggers when a new employee is updated (Exclusively for Australian Instances).

Required: organization

Updated Sales Invoicexero_updated_sales_invoice

Trigger · Read-only. Triggers when a Sales Invoice is updated.

Required: organization

Optional: status, change, contact, trigger_preference

Updated Quotexero_updated_quote

Trigger · Read-only. Triggers when a quote is created or updated.

Required: organization

Find Contactxero_find_contact

Search · Read-only. Finds a contact by name or account number.

Required: organization, search_by

Find Credit Notexero_find_credit_note

Search · Read-only. Finds a credit note by number or reference and retrieves its PDF.

Required: organization, search_by

Find Employeexero_find_employee

Search · Read-only. Finds an employee based on email.

Required: organization

Optional: email

Find Invoice by IDxero_find_invoice_by_id

Search · Read-only. Find a specific invoice using its unique Invoice ID.

Required: organization, invoice_id (Invoice ID)

Optional: include_pdf (Include PDF File), include_online_url (Include Online Invoice URL)

Find Purchase Orderxero_find_purchase_order

Search · Read-only. Finds a Purchase Order

Required: organization, search_by (Search By), search_value (Order ID or Number)

Find Quotexero_find_quote

Search · Read-only. Finds quotes, optionally filtered by contact, quote number, or status.

Required: organization

Optional: contact_id (Contact ID), quote_number (Quote Number), status

Get Invoice Historyxero_get_invoice_history

Search · Read-only. Returns a list of History Records for a given Invoice ID.

Required: organization, invoice_id (Invoice ID)

Find Invoicexero_find_invoice

Search · Read-only. Finds an invoice by number or reference.

Required: organization, search_by

Optional: include_online_invoice_url (Include Online Invoice URL)

Find Itemxero_find_item

Search · Read-only. Finds an item by name or code.

Required: organization, search_by

Find Paymentxero_find_payment

Search · Read-only. Finds a payment by ID or reference.

Required: organization, search_by

Make API GET Requestxero_make_api_get_request

Action · Read-only. Make a GET HTTP request to Xero's API, without needing to handle authentication. Fixed parameters: - method: GET

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Add Items to Existing Sales Invoicexero_add_items_to_existing_sales_invoice

Action · Writes data. Adds line items to an existing sales invoice.

Required: organization, invoice

Add Note to Invoicexero_add_note_to_invoice

Action · Writes data. Add a note which will appear in the invoice history.

Required: organization, invoice_id (Invoice ID), invoice_note (Note)

Add or Update Stock Itemsxero_add_or_update_stock_items

Action · Writes data. Creates or updates one or more stock items.

Required: organization, item_code (Item Code), item_name (Name), is_sold (Is Sold), is_purchased (Is Purchased), is_tracked (Is Tracked)

Optional: item_description (Description), sales_unit_price (Sales Unit Price), sales_account_code (Sales Account), sales_tax_type (Sales Tax Type), purchase_description (Purchase Description), purchase_unit_price (Purchase Unit Price), purchase_account_code (Purchase Account), purchase_tax_type (Purchase Tax Type), inventory_asset_account_code (Inventory Asset Account), cogs_account_code (Cost of Goods Sold Account)

Allocate Credit Note to Invoicexero_allocate_credit_note_to_invoice

Action · Writes data. Allocates a credit note to an invoice.

Required: organization, credit_note_id (Credit Note ID), invoice_id (Invoice ID), amount

Create Bank Transactionxero_create_bank_transaction

Action · Writes data. Creates a new Spend/Receive Money bank transaction.

Required: organization, transaction_type, contact_id (Contact), bank_account_id (Bank Account)

Optional: date

Create Bank Transferxero_create_bank_transfer

Action · Writes data. Transfers money between two bank accounts.

Required: organization, FromBankAccount__Code (From Account), ToBankAccount__Code (To Account), Amount

Optional: Date

Create/Update Contactxero_create_update_contact

Action · Writes data. Creates a new contact or updates a contact if a contact already exists.

Required: organization, name (Contact Name)

Optional: account_number, sales_default_account_code (Sales Default Account Code), purchases_default_account_code (Purchases Default Account Code), first_name (Primary Person - First Name), last_name (Primary Person - Last Name), email_address (Primary Person - Email), contact_person__first_name (Secondary Person - First Name), contact_person__last_name (Secondary Person - Last Name), contact_person__email_address (Secondary Person - Email), contact_person__include_in_emails (Include secondary person in emails sent to contact?), phone__country_code (Phone - Country Code), phone__area_code (Phone - Area Code), phone__number (Phone Number), fax__country_code (Fax - Country Code), fax__area_code (Fax - Area Code), fax__number (Fax - Number), mobile__country_code (Mobile - Country Code), mobile__area_code (Mobile - Area Code), mobile__number (Mobile - Number), direct_dial__country_code (Direct Dial - Country Code), direct_dial__area_code (Direct Dial - Area Code), direct_dial__number (Direct Dial - Number), address__type_of, address__attn (Address - Attention), address__line1 (Address - Line 1), address__line2 (Address - Line 2), address__city (Address - City/Town), address__region (Address - State/Region), address__postal_code (Address - Postal/Zip Code), address__country (Address - Country), tax_number, bank_account_details (Bank Account Number), groups, contact_number, company_number, payment_terms__sales__days (Payment Terms - Invoice Due (days)), payment_terms__sales__type (Payment Terms - Type for Sales Invoices), payment_terms__purchases__days (Payment Terms - Bill Due (days)), payment_terms__purchases__type (Payment Terms - Type for Purchase Invoices)

Create Accountxero_create_account

Action · Writes data. Creates a new account.

Required: organization, code, name, type

Create New Quote Draftxero_create_new_quote_draft

Action · Writes data. Creates a new quote draft.

Required: organization, contact_id (Contact)

Optional: date, expiry_date (Expiry), quote_number (Quote Number), reference, branding_theme_id (Theme), title, summary, currency_code (Currency), line_amount_types (Amounts Are), terms

Create Credit Notexero_create_credit_note

Action · Writes data. Creates a new credit note for a contact.

Required: organization, type, contact_id (Contact)

Optional: date

Delete Credit Note Allocationxero_delete_credit_note_allocation

Action · Writes data. Deletes a credit note allocation on an invoice.

Required: organization, credit_note_id (Credit Note ID), allocation_id (Allocation ID)

Send Sales Invoice by Emailxero_send_sales_invoice_by_email

Action · Writes data. Send Sales Invoice by Email

Required: organization, invoice_id (Invoice ID)

Create Employeexero_create_employee

Action · Writes data. Creates an employee in Xero. (Exclusively for Australian Instances)

Required: organization, FirstName (First Name), LastName (Last Name), DateOfBirth (Date of Birth), Email

Optional: MiddleNames (Middle Names), Title, Gender, Phone (Phone Number), Mobile (Mobile Number), TwitterUserName (Twitter Username), JobTitle (Job Title), Classification, TerminationDate (Termination Date), TerminationReason (Termination Reason), IncomeType (Income Type), EmploymentType (Employment Type), Status, EmploymentBasis (Employment Basis), StartDate (Start Date), PayrollCalendarID (Payroll Calendar), EmployeeGroupName (Employee Group Name), IsAuthorisedToApproveLeave (Is Authorised to Approve Leave), IsAuthorisedToApproveTimesheets (Is Authorised to Approve Timesheets), SuperFundID (Super Fund), EmployeeNumber (Employee Number), TaxFileNumber (Tax File Number), TFNExemptionType (TFN Exemption Type), ResidencyStatus (Residency Status), TaxScaleType (Tax Scale Type), TaxOffsetEstimatedAmount (Tax Offset Estimated Amount), UpwardVariationTaxWithholdingAmount (Upward Variation Tax Withholding Amount), ApprovedWithholdingVariationPercentage (Approved Withholding Variation Percentage), StatementText (Statement Text), AccountName (Account Name), BSB (BSB Number), AccountNumber (Account Number), Remainder, AddressLine1 (Address Line 1), AddressLine2 (Address Line 2), City (City/Suburb), Region (State/Region), PostalCode (Postal Code), Country

Create Inventory Itemxero_create_inventory_item

Action · Writes data. Creates an inventory item.

Required: organization, item_code (Item Code)

Optional: is_sold (Mark Item as a Sales Item?), is_purchased (Mark Item as a Purchase Item?), item_name (Item Name)

Create Billxero_create_bill

Action · Writes data. Creates a new bill (Accounts Payable).

Required: organization, contact_name, line_quantity (Quantity)

Optional: email_address, status, date, due_date, currency, url, attachment, branding_theme, number (Reference), line_items_type, line_item_code (Item Code), line_description (Description), line_unit_amount (Unit Price), line_account_code (Account), line_tax_type (Tax Rate), line_tracking (Tracking)

Create Sales Invoicexero_create_sales_invoice

Action · Writes data. Creates a new sales invoice (Accounts Receivable).

Required: organization, contact_name, line_quantity (Quantity)

Optional: email_address, contact_account_number, contact_first_name (Primary Person - First Name), contact_last_name (Primary Person - Last Name), contact_phone__country_code (Phone - Country Code), contact_phone__area_code (Phone - Area Code), contact_phone__number (Phone Number), contact_fax__country_code (Fax - Country Code), contact_fax__area_code (Fax - Area Code), contact_fax__number (Fax - Number), contact_mobile__country_code (Mobile - Country Code), contact_mobile__area_code (Mobile - Area Code), contact_mobile__number (Mobile - Number), contact_direct_dial__country_code (Direct Dial - Country Code), contact_direct_dial__area_code (Direct Dial - Area Code), contact_direct_dial__number (Direct Dial - Number), contact_address__type_of (Contact Address Type), contact_address__attn (Address - Attention), contact_address__line1 (Address - Line 1), contact_address__line2 (Address - Line 2), contact_address__city (Address - City/Town), contact_address__region (Address - State/Region), contact_address__postal_code (Address - Postal/Zip Code), contact_address__country (Address - Country), contact_tax_number, contact_bank_account_details (Bank Account Number), contact_number (Contact Number), status, date, due_date, currency, url, attachment, branding_theme, number, reference, sent_to_contact, shipping_cost (Shipping Cost), shipping_cost_description (Shipping Description), shipping_cost_tax_type (Shipping Cost Tax Rate (If Applicable)), line_items_type, line_item_code (Item Code), line_description (Description), line_unit_amount (Unit Price), line_discount (Discount %), line_discount_amount (Discount Amount), line_account_code (Account), line_tax_type (Tax Rate), line_tracking (Tracking)

Create Paymentxero_create_payment

Action · Writes data. Applies a payment to an invoice.

Required: organization, invoice_number (Document ID or Number), account_id (Paid To), amount

Optional: invoice_type (Document Type), date, currency_rate, reference

Create Projectxero_create_project

Action · Writes data. Creates a new project for a contact.

Required: organization, contact_id (Contact), project_name (Project Name)

Optional: deadline_utc (Deadline for the project), estimate_amount (Project Estimate)

Create Purchase Orderxero_create_purchase_order

Action · Writes data. Creates a new purchase order for a contact.

Required: organization, contact_id (Contact (supplier))

Optional: date, delivery_date, purchase_order_number (Order Number), reference, branding_theme (Theme), currency, tax_type, delivery_address, attention, telephone, delivery_instructions, attachments, status (Purchase Order Status)

Create Repeating Sales Invoicexero_create_repeating_sales_invoice

Action · Writes data. Creates a template that generates regular invoices.

Required: organization, contact_id (Contact), schedule_unit (Invoice Creation: Frequency Type), schedule_period (Invoice Creation: Frequency (Period)), schedule_due_date_type (Due Date Type: Payment Terms), schedule_due_date (Set Due Dates (Days)), schedule_start_date (Start Date: ), status

Optional: schedule_end_date (End Date), currency, branding_theme, reference, approved_for_sending (Mark as approved for sending?), send_copy (Email a copy to Sender?), include_pdf (Include PDF), line_items_type (Line Amount Types), shipping_cost (Shipping Cost), shipping_cost_description (Shipping Description), shipping_cost_tax_type (Shipping Cost Tax Rate (If Applicable))

Update Employeexero_update_employee

Action · Writes data. Updates an existing employee in Xero. (Exclusively for Australian Instances)

Required: organization, EmployeeID (Employee), FirstName (First Name), LastName (Last Name), DateOfBirth (Date of Birth), Email

Optional: MiddleNames (Middle Names), Title, Gender, Phone (Phone Number), Mobile (Mobile Number), TwitterUserName (Twitter Username), JobTitle (Job Title), Classification, TerminationDate (Termination Date), TerminationReason (Termination Reason), IncomeType (Income Type), EmploymentType (Employment Type), Status, EmploymentBasis (Employment Basis), StartDate (Start Date), PayrollCalendarID (Payroll Calendar), EmployeeGroupName (Employee Group Name), IsAuthorisedToApproveLeave (Is Authorised to Approve Leave), IsAuthorisedToApproveTimesheets (Is Authorised to Approve Timesheets), SuperFundID (Super Fund), EmployeeNumber (Employee Number), TaxFileNumber (Tax File Number), TFNExemptionType (TFN Exemption Type), ResidencyStatus (Residency Status), TaxScaleType (Tax Scale Type), TaxOffsetEstimatedAmount (Tax Offset Estimated Amount), UpwardVariationTaxWithholdingAmount (Upward Variation Tax Withholding Amount), ApprovedWithholdingVariationPercentage (Approved Withholding Variation Percentage), StatementText (Statement Text), AccountName (Account Name), BSB (BSB Number), AccountNumber (Account Number), Remainder, AddressLine1 (Address Line 1), AddressLine2 (Address Line 2), City (City/Suburb), Region (State/Region), PostalCode (Postal Code), Country

Update Purchase Orderxero_update_purchase_order

Action · Writes data. Updates an existing Purchase Order.

Required: organization, order_id (Purchase Order)

Optional: ContactID (Contact), line_items_update_type (Update Method for Line Items), date, delivery_date, LineAmountTypes (Line Amount Types), PurchaseOrderNumber (Purchase Order Number), Reference, BrandingThemeID (Branding Theme), CurrencyCode (Currency), Status, SentToContact (Sent to Contact), DeliveryAddress (Delivery Address), AttentionTo (Attention To), Telephone, DeliveryInstructions (Delivery Instructions), expected_arrival_date

Update Quotexero_update_quote

Action · Writes data. Updates an existing quote.

Required: organization, quote_id (Quote ID), contact_id (Contact)

Optional: quote_number (Quote Number), status, date, expiry_date (Expiry), reference, branding_theme_id (Theme), title, summary, currency_code (Currency), line_amount_types (Amounts Are), terms

Update Sales Invoicexero_update_sales_invoice

Action · Writes data. Updates existing sales invoice (Accounts Receivable).

Required: organization, invoice_id

Optional: contact_id (Contact), invoice_status (Status), date, due_date, expected_payment_date, reference, branding_theme, url, currency, sent_to_contact, attachments, invoice_number, line_amount_types

Upload Attachmentxero_upload_attachment

Action · Writes data. Uploads an attachment to a selected Xero resource. Resources can have a maximum of 10 attachments.

Required: organization, endpoint (Resource type), file

Make API Mutating Requestxero_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to Xero's API, without needing to handle authentication.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Xero API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Xero. You connect your account once, and your code references that connection instead of a raw token.

add_invoice_line_items (Add Items to Existing Sales Invoice) requires organization and invoice. Every Xero action and its inputs are listed under Xero triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection xero
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "xero", owner: "me" });

const { data } = await zapier.runAction({
  app: "xero",
  actionType: "write",
  action: "add_invoice_line_items",
  connection: connection.id,
  inputs: {
    organization: "", // Organization
    invoice: "",
  },
});
Zapier SDK CLI
npx zapier-sdk run-action xero write add_invoice_line_items \
  --inputs '{"organization":"","invoice":""}'

Frequently asked questions about automating with Xero

How do I connect Xero to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Xero. Claude finds the Xero actions and adds them. If Xero needs a sign-in, you approve it once.

Can I use the Xero API without managing API keys?

With the Zapier SDK you connect your Xero account to Zapier once, and your code runs actions through that connection. Zapier handles Xero’s login, so you never paste an API key into your code.

What can an AI agent do with Xero?

Through Zapier MCP, your agent can use 55 Xero tools, such as New Bank Transaction, New Bill, and New Contact. 29 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Xero automations. It covers how Xero connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Xero

Xero is an accounting app that lets you track businesses expenses and accounting with intuitive mobile apps and web interfaces for point-of-sale, ecommerce, time-tracking, and more.

Related categories: Accounting