CommunityHire an ExpertSign Up
Payments and commerceXero
Payments and commerce

Xero integration

Connect Xero to Softr and create, update, fetch and list contacts and invoices from your workflows and agents, or start a workflow when a Xero record changes.

Xero manages contacts, sales invoices, bills, and credit notes for your organization. Connect Xero to Softr workflows and agents to manage contacts and invoices and to trigger automations when records change.

Connect Xero

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add a Xero action or the Resource changed trigger.
  3. Select Connect to Xero, sign in to your Xero account, and authorize the requested permissions.
  4. Select the Organization you want the action or trigger to use.
  5. Map fields from your forms, records, or earlier steps to the action inputs, such as contact details or invoice line items.
  6. Test the workflow, then publish it.

Use cases

Use caseWhat it does
New customer to XeroCreate a contact when someone signs up or submits a form in your app.
Invoice on order or bookingCreate a sales invoice when a customer orders or confirms a booking.
Billing portalUse List invoices to show members their outstanding and paid invoices.
Keep contacts in syncUpdate a Xero contact when the matching record changes in your database.
Payment follow-upsTrigger on a changed invoice, then send a reminder or update a record when its status changes.
Finance dashboardShow contacts and invoices in an admin dashboard.

Use Xero in workflows and agents

Use Xero in Softr workflows and agents to create, update, fetch, and list contacts and invoices, or to react when Xero records change.

Actions

The Xero actions in the workflow step picker: Create contact, Update contact, Get contact, List contacts, Create invoice, Update invoice, Get invoice, List invoices

The Xero actions in the step picker of a workflow.
ActionWhat it does
Create contactCreates a new customer or supplier contact in your Xero organization.
Update contactUpdates an existing Xero contact’s details, addresses, or status.
Get contactFetches a single contact by ID.
List contactsRetrieves a page of contacts from your Xero organization.
Create invoiceCreates a new sales invoice (ACCREC) or bill (ACCPAY) with line items, due date, currency, branding theme, and status.
Update invoiceUpdates an existing invoice’s line items, status, dates, or reference.
Get invoiceFetches a single invoice by ID or invoice number, including its amount, status, and details.
List invoicesRetrieves a page of invoices from your Xero organization.

Triggers

The Xero triggers in the workflow trigger picker: Resource changed

The Xero triggers in the trigger picker of a workflow.
TriggerStarts the workflow when
Resource changedA contact, invoice, or credit note is created or updated in Xero. You can choose which resource to watch and limit it to create or update events only.

Good to know

  • Every action returns the created or updated record so you can use it in later workflow steps.
  • Softr supports connecting more than one Xero organization.

FAQ

Can I connect more than one Xero organization?

Yes. Select the Organization each action or trigger uses.

Can I create bills as well as sales invoices?

Yes. Create invoice creates a sales invoice (ACCREC) or a bill (ACCPAY).

Which records can the trigger watch?

Contacts, invoices, and credit notes. You can limit it to create or update events only.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.