How to connect Code by Zapier + Salesforce + Xero
Zapier lets you send info between Code by Zapier and Salesforce and Xero automatically—no code required. With 7,000+ supported apps, the possibilities are endless.
- Free forever for core features
- 14 day trial for premium features & apps
Do even more with Code by Zapier + Salesforce + Xero
With Zapier, you can do more than just connect your apps - you can automate entire processes from beginning to end! Check out the following list of triggers and actions you can use with Code by Zapier, Salesforce, and Xero. And don’t forget that you can add more apps and actions to create complex workflows.
Zap Id
Zap Step Id
CodeRequired
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planZap Id
Zap Step Id
Input Data
CodeRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.New Case Attachment
Triggers when a new Attachment is added to a case.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Outbound Message
Triggers when a new outbound message is received in Salesforce.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Disclaimer
Salesforce ObjectRequired
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planCampaignRequired
ContactRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.CampaignRequired
LeadRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.FileRequired
Salesforce ObjectRequired
Description
Is Private
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Contact
Creates a new contact in Salesforce.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Salesforce ObjectRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Record to UpdateRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Salesforce ObjectRequired
Record to UpdateRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.HTTP MethodRequired
URLRequired
Query String Parameters
Headers
Additional Request Headers
Body
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Salesforce ObjectRequired
Search ValueRequired
Second Field to Search By
Second Search Value
Search Operator
ActionThis is an event a Zap performs.SearchFind existing data in your appSalesforce ObjectRequired
WHERE ClauseRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appSalesforce ObjectRequired
Search ValueRequired
Second Field to Search By
Second Search Value
Search Operator
Use Assignment Rules
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundOrganizationRequired
Payment Type
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Purchase Order Status
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Payment Type
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Invoice IDRequired
NoteRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Transaction TypeRequired
ContactRequired
Bank AccountRequired
Date
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Contact NameRequired
Account Number
Contact Requirements
Primary Person - First Name
Primary Person - Last Name
Primary Person - Email
Secondary Person - First Name
Secondary Person - Last Name
Secondary Person - Email
Include secondary person in emails sent to contact?
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
Address Type Of
Address - Attention
Address - Line 1
Address - Line 2
Address - City/Town
Address - State/Region
Address - Postal/Zip Code
Address - Country
Tax Number
Bank Account Number
Groups
Contact Number
Company Number
Payment Terms - Invoice Due (days)
Payment Terms - Type for Sales Invoices
Payment Terms - Bill Due (days)
Payment Terms - Type for Purchase Invoices
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
TypeRequired
ContactRequired
Date
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Mark Item as a Sales Item?
Mark Item as a Purchase Item?
Item Name
Item CodeRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Contact NameRequired
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
QuantityRequired
Unit Price
Discount %
Discount Amount
Account
Tax Rate
Tracking
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
ContactRequired
Project NameRequired
Deadline for the project
Project Estimate
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
ContactRequired
Repeated Invoice Schedule
Invoice Creation: Frequency TypeRequired
Invoice Creation: Frequency (Period)Required
Due Date Type: Payment TermsRequired
Set Due Dates (Days)Required
Start Date: Required
End Date
StatusRequired
Currency
Branding Theme
Reference
Mark as approved for sending?
Email a copy to Sender?
Include PDF
Line Amount Types
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Info
OrganizationRequired
Invoice IdRequired
Contact
Status
Date
Due Date
Expected Payment Date
Reference
Branding Theme
Url
Currency
Sent To Contact
Attachments
Invoice Number
Line Amount Types
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.HTTP MethodRequired
URLRequired
Query String Parameters
Headers
Additional Request Headers
Body
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appOrganizationRequired
Invoice IDRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appOrganizationRequired
Search ByRequired
Contact NameRequired
Account Number
Contact Requirements
Primary Person - First Name
Primary Person - Last Name
Primary Person - Email
Secondary Person - First Name
Secondary Person - Last Name
Secondary Person - Email
Include secondary person in emails sent to contact?
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
Address Type Of
Address - Attention
Address - Line 1
Address - Line 2
Address - City/Town
Address - State/Region
Address - Postal/Zip Code
Address - Country
Tax Number
Bank Account Number
Groups
Contact Number
Company Number
Payment Terms - Invoice Due (days)
Payment Terms - Type for Sales Invoices
Payment Terms - Bill Due (days)
Payment Terms - Type for Purchase Invoices
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is found
Zap Id
Zap Step Id
CodeRequired
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planZap Id
Zap Step Id
Input Data
CodeRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.New Contact
Triggers when a new Contact is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Lead
Triggers when a new Lead is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planSalesforce ObjectRequired
Record to LinkRequired
FileRequired
VisibilityRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.LeadRequired
AccountRequired
Warning
Opportunity
Create New Opportunity
Converted StatusRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Parent ObjectRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.FileRequired
Title
Description
Salesforce Object
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TitleRequired
Note
Salesforce ObjectRequired
Is Private
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Salesforce ObjectRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Lead to UpdateRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Salesforce ObjectRequired
Record to UpdateRequired
Use Assignment Rules
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Parent ObjectRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appSalesforce ObjectRequired
Search Results
ActionThis is an event a Zap performs.SearchFind existing data in your appSalesforce ObjectRequired
WHERE ClauseRequired
Order By
Order Direction
Limit
ActionThis is an event a Zap performs.SearchFind existing data in your appSalesforce ObjectRequired
WHERE ClauseRequired
Order By
Order Direction
Limit
Use Assignment Rules
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundOrganizationRequired
Status
Type
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Project State
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Quote Status
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planOrganizationRequired
Status
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.OrganizationRequired
Status
Change
Contact
Trigger Preference
Copy
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.OrganizationRequired
InvoiceRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Credit Note IDRequired
Invoice IDRequired
AmountRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
From AccountRequired
To AccountRequired
AmountRequired
Date
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
ContactRequired
Date
Expiry
Quote Number
Reference
Theme
Title
Summary
Currency
Amounts Are
Terms
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Invoice IDRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Contact NameRequired
Email Address
Status
Date
Due Date
Currency
Url
Attachment
Branding Theme
Reference
Line Items Type
Item Code
Description
QuantityRequired
Unit Price
Account
Tax Rate
Tracking
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Document Type
Document ID or NumberRequired
Paid ToRequired
Date
Currency Rate
AmountRequired
Reference
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Contact (supplier)Required
Date
Delivery Date
Order Number
Reference
Theme
Currency
Tax Type
Delivery Address
Attention
Telephone
Delivery Instructions
Attachments
Purchase Order Status
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Purchase OrderRequired
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
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Resource typeRequired
FileRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Search ByRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appOrganizationRequired
Search ByRequired
Include Online Invoice URL
ActionThis is an event a Zap performs.SearchFind existing data in your appOrganizationRequired
Search ByRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appOrganizationRequired
Search ByRequired
Mark Item as a Sales Item?
Mark Item as a Purchase Item?
Item Name
Item CodeRequired
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is found
Top companies trust Zapier to automate work and free up time
Join millions worldwide who automate their work using Zapier
How Code by Zapier + Salesforce + Xero Integrations Work
- Step 1: Authenticate Code by Zapier, Salesforce, and Xero.30 seconds
- Step 2: Pick one of the apps as a trigger, which will kick off your automation.15 seconds
- Step 3: Choose a resulting action from the other app.15 seconds
- Step 4: Select the data you want to send from one app to the other.2 minutes
- That’s it! More time to work on other things.