How to connect Code by Zapier + HubSpot + Xero
Zapier lets you send info between Code by Zapier and HubSpot 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 + HubSpot + 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, HubSpot, 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.Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planProperty NameRequired
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Email Subscriptions Timeline
Triggers when new email timeline subscription added for the portal.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planContact ListRequired
Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Type of Custom ObjectRequired
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planType of Custom ObjectRequired
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Note
List NameRequired
Contact EmailRequired
Halt my task if contact is already a member of the list
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Company
Creates a Company in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Associations
Creates associations between objects.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Social Media ChannelRequired
Message ContentRequired
When
Save as draft
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Note
NameRequired
Company
Contact
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Workflow NameRequired
Contact's EmailRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Deal IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Line_item IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Ticket IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Blog URLRequired
Blog AuthorRequired
Publish This Post?Required
Blog Post URLRequired
Blog Post TitleRequired
Blog Post ContentRequired
Meta DescriptionRequired
Featured image URL
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Product
Creates a Product in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
List NameRequired
Contact EmailRequired
Halt my task if contact wasn't a member of the listRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Ticket
Creates a Ticket in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Contact
Update a Contact in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Line_item
Update a Line_item in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Ticket
Update a Ticket in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
EmailRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Note
Contact EmailRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
NameRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
NameRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appFind Associations
Find associations between objects.
ActionThis is an event a Zap performs.SearchFind existing data in your appObject TypeRequired
Pipeline IdRequired
Stage IdRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundType of Custom ObjectRequired
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
Additional properties to retrieve
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
Additional properties to retrieve
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.Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planBlog UrlRequired
Article StateRequired
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Deal
Triggers when a new Deal is created.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Property NameRequired
Properties to retrieveRequired
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planProperty NameRequired
Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Note
Note
Additional properties to retrieve
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNote
NameRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Contact
Creates a Contact in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Halt task if any associations error occurred
Engagement TypeRequired
Assigned To
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Type of Custom ObjectRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Deal
Creates a Deal in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Company IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Type of Custom ObjectRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Product IDRequired
Note
Additional properties to retrieve
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Create Line_item
Creates a Line_item in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
Contact Email AddressRequired
Event IDRequired
Contact Value
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Remove Associations
Removes associations between objects.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Note
FormRequired
Note
HubSpot usertoken
IP address
Page name
Page URI
Page ID
SFDC campaign ID
GoToWebinar key/ID
Submission timestamp
Skip validation
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Company
Update a Company in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Deal
Update a Deal in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Update Product
Update a Product in HubSpot.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Type of Custom ObjectRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.FolderRequired
FilenameRequired
Access levelRequired
FileRequired
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.Note
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appType of Custom ObjectRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appOwner emailRequired
Search among deactivated owners
ActionThis is an event a Zap performs.SearchFind existing data in your appOwner IdRequired
Search among deactivated owners
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
Additional properties to retrieve
ActionThis is an event a Zap performs.SearchFind existing data in your appNote
NameRequired
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
Additional properties to retrieve
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
NameRequired
Note
Company
Contact
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
Additional properties to retrieve
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNote
Additional properties to retrieve
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
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 + HubSpot + Xero Integrations Work
- Step 1: Authenticate Code by Zapier, HubSpot, 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.