Salesforce + Xero Integrations
CRM (Customer Relationship Management), Accounting
Build Salesforce and Xero automations with your AI agent. Run them on Zapier.
- apps to connect
- 10,000+
- ways to start a workflow
- 27
- available app actions
- 71
- 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
Connect Salesforce and Xero to your AI agent with Zapier MCP
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 Salesforce and Xero and runs them—all with your credentials managed by Zapier and kept out of the model.
Install Zapier MCP in this AI tool and help me sign in to Zapier or sign up. Then connect my Salesforce and Xero accounts and help me build a Zap with Salesforce and Xero: ask me what I want to automate. Start by reading https://zapier.com/AGENTS.md.
Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to discover what Salesforce and Xero automations you can build.
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.
npm install @zapier/zapier-sdk npm install -D @zapier/zapier-sdk-cli npx zapier-sdk login
Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.
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 Salesforce, 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 Salesforce, Xero, and other apps.
Popular Salesforce and Xero integrations
Use a premade Salesforce and Xero automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.
Create Xero invoices from new Salesforce custom objects
Salesforce + Xero
Create sales invoices in Xero for updated Salesforce records
Salesforce + Xero
Salesforce and Xero triggers and actions
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 Salesforce and Xero triggers and actions you can build with right away.
New Case Attachment
Triggers when a new Attachment is added to a case.
New Contact
Triggers when a new Contact is created.
New Field History Tracking Event
Triggers when a field is updated on the object specified. It will output the old and new field values.
New or Updated File on Record
Triggers when an attachment, note, or content document is added or updated on any record of the specified Salesforce object.
New Lead
Triggers when a new Lead is created.
New Outbound Message
Triggers when a new outbound message is received in Salesforce.
New Record
Triggers when a record of the specified Salesforce object (ie. Contact, Lead, Opportunity, etc.) is created.
Updated Field on Record
Triggers when a field of your choosing (ie. email address, status) is updated on any record of a specified Salesforce object (ie. Contact, Lead, Opportunity, etc.).
Frequently asked questions about automating 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.
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 Salesforce and Xero automations. It covers how each app connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI.
About Salesforce
Salesforce is a leading enterprise customer relationship manager (CRM) application.
Related categories: CRM (Customer Relationship Management)
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

