Top companies trust Zapier to automate work that solves their unique business problems—no coding required.
How Zapier works
Zapier makes it easy to integrate Salesforce with Xero - no code necessary. See how you can get setup in minutes.
100%
Help
Salesforce
Salesforce
1. Choose trigger event
Xero
Xero
2. Choose action
1. Select the event
Setup
Test
Salesforce
Choose a trigger event
Choose a trigger
A trigger is the event that starts your Zap—like a "New Case Attachment" from Salesforce.
Add your action
An action happens after the trigger—such as "Add Items to Existing Sales Invoice" in Xero.
You’re connected!
Zapier seamlessly connects Salesforce and Xero, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
New Case Attachment
Triggers when a new Attachment is added to a case.
Create a new record or update an existing record in your app.
Organization
Required
Credit Note ID
Required
Invoice ID
Required
Amount
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
From Account
Required
To Account
Required
Amount
Required
Date
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Code
Required
Name
Required
Type
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Type
Required
Contact
Required
Date
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Invoice ID
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Mark Item as a Sales Item?
Mark Item as a Purchase Item?
Item Name
Item Code
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Contact_name
Required
Email_address
Contact_account_number
Primary Person - First Name
Primary Person - Last Name
Phone - Country Code
Phone - Area Code
Phone Number
Fax - Country Code
Fax - Area Code
Fax - Number
Mobile - Country Code
Mobile - Area Code
Mobile - Number
Direct Dial - Country Code
Direct Dial - Area Code
Direct Dial - Number
Contact Address Type
Address - Attention
Address - Line 1
Address - Line 2
Address - City/Town
Address - State/Region
Address - Postal/Zip Code
Address - Country
Contact_tax_number
Bank Account Number
Contact Number
Status
Date
Due_date
Currency
Url
Attachment
Branding_theme
Number
Reference
Sent_to_contact
Line_items_type
Item Code
Description
Quantity
Required
Unit Price
Discount %
Discount Amount
Account
Tax Rate
Tracking
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Contact
Required
Project Name
Required
Deadline for the project
Project Estimate
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Contact
Required
Repeated Invoice Schedule
Invoice Creation: Frequency Type
Required
Invoice Creation: Frequency (Period)
Required
Due Date Type: Payment Terms
Required
Set Due Dates (Days)
Required
Start Date:
Required
End Date
Status
Required
Currency
Branding_theme
Reference
Mark as approved for sending?
Email a copy to Sender?
Include PDF
Line Amount Types
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Purchase Order
Required
Contact
Update Method for Line Items
Date
Delivery_date
Line Amount Types
Purchase Order Number
Reference
Branding Theme
Currency
Status
Sent to Contact
Delivery Address
Attention To
Telephone
Delivery Instructions
Expected_arrival_date
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Info
Organization
Required
Invoice_id
Required
Contact
Status
Date
Due_date
Expected_payment_date
Reference
Branding_theme
Url
Currency
Sent_to_contact
Attachments
Invoice_number
Line_amount_types
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Stop on error
Required
HTTP Method
Required
URL
Required
Query string parameters
Additional request headers
Body
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Organization
Required
Search_by
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Organization
Required
Invoice ID
Required
Include PDF File
Include Online Invoice URL
Action
This is an event a Zap performs.
Search
Find existing data in your app
Organization
Required
Contact ID
Quote Number
Status
Action
This is an event a Zap performs.
Search
Find existing data in your app
Organization
Required
Search_by
Required
Include Online Invoice URL
Action
This is an event a Zap performs.
Search
Find existing data in your app
Organization
Required
Search_by
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Organization
Required
Search_by
Required
Mark Item as a Sales Item?
Mark Item as a Purchase Item?
Item Name
Item Code
Required
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
For AI agents & developers
Use Salesforce and Xero with AI agents and code
Beyond Zap workflows. Call Salesforce and Xero actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
No code
Connect via Zapier MCP
Expose Salesforce and Xero actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Add Contact to Campaign
Add Items to Existing Sales Invoice
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023
93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap
Practical ways you can use Salesforce and Xero
Sync closed deals to invoicing.
When a deal is closed in Salesforce, Zapier creates a corresponding sales invoice in Xero. This bridges sales and accounting, ensuring no deal falls through the cracks and invoices are accurately recorded automatically.
Zapier updates a Salesforce contact whenever a contact is updated in Xero. This keeps IT-managed systems synchronized, eliminating manual updates and reducing inconsistencies in customer data.
When a bill is added to Xero, Zapier logs it as a record in Salesforce under the relevant project. This improves visibility into project expenses and ensures accurate financial tracking.
Learn how to automate Salesforce on the Zapier blog
Learn how to automate Xero on the Zapier blog
Make work flow with AI
Level up your Salesforce to Xero integration with AI. Extract, summarize, and transform your integration data with leading AI models like OpenAI, Anthropic, and more.
Frequently Asked Questions about Salesforce + Xero integrations
New to automation with Zapier? You're not alone. Here are some answers to common questions about how Zapier works with Salesforce and Xero
What is required to set up a Salesforce and Xero integration?
To set up the integration between Salesforce and Xero, you'll need active accounts on both platforms and access credentials, such as API keys or tokens. You'll also need to specify which specific triggers in Salesforce should initiate actions in Xero, such as creating invoices when a deal is closed.
Can I customize the triggers from Salesforce to Xero?
Yes, you can customize triggers according to your business needs. For instance, you can set Salesforce to trigger an action in Xero when a new customer is added or when a sales order status is changed. Our platform allows detailed customization of these trigger settings.
What types of data can be synced between Salesforce and Xero?
Typically, you can sync customer data, invoices, payments, and sales orders. Triggers can be set so that changes in these records in Salesforce automatically update related records in Xero.
Is it possible to map custom fields between the two systems?
Yes, mapping custom fields is supported. This allows for more tailored transfers of information between Salesforce and Xero based on your organization’s unique requirements.
How often does the data sync occur?
Data syncing frequency can be customized based on your preferences—options typically include real-time syncing whenever a trigger condition is met or at scheduled intervals like hourly or daily.
What happens if there is an error during synchronization?
If an error occurs during synchronization, our system will notify you immediately through email alerts or within your dashboard interface. You’ll have the option to troubleshoot or re-trigger the process once issues are resolved.
Can I perform actions in both directions between Salesforce and Xero?
The integration platform supports bidirectional workflows, meaning contacts updated in Xero could also update back into Salesforce if configured properly. Triggers can be defined for actions originating from either application.
About Salesforce
Salesforce is a leading enterprise customer relationship manager (CRM) application.
App Builder, CRM (Customer Relationship Management), Forms & Surveys, Zapier
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.