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
- Open your Softr app and go to Workflows.
- Create a new workflow and add a Xero action or the Resource changed trigger.
- Select Connect to Xero, sign in to your Xero account, and authorize the requested permissions.
- Select the Organization you want the action or trigger to use.
- Map fields from your forms, records, or earlier steps to the action inputs, such as contact details or invoice line items.
- Test the workflow, then publish it.
Use cases
| Use case | What it does |
|---|---|
| New customer to Xero | Create a contact when someone signs up or submits a form in your app. |
| Invoice on order or booking | Create a sales invoice when a customer orders or confirms a booking. |
| Billing portal | Use List invoices to show members their outstanding and paid invoices. |
| Keep contacts in sync | Update a Xero contact when the matching record changes in your database. |
| Payment follow-ups | Trigger on a changed invoice, then send a reminder or update a record when its status changes. |
| Finance dashboard | Show 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

| Action | What it does |
|---|---|
| Create contact | Creates a new customer or supplier contact in your Xero organization. |
| Update contact | Updates an existing Xero contact’s details, addresses, or status. |
| Get contact | Fetches a single contact by ID. |
| List contacts | Retrieves a page of contacts from your Xero organization. |
| Create invoice | Creates a new sales invoice (ACCREC) or bill (ACCPAY) with line items, due date, currency, branding theme, and status. |
| Update invoice | Updates an existing invoice’s line items, status, dates, or reference. |
| Get invoice | Fetches a single invoice by ID or invoice number, including its amount, status, and details. |
| List invoices | Retrieves a page of invoices from your Xero organization. |
Triggers

| Trigger | Starts the workflow when |
|---|---|
| Resource changed | A 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.