How to connect Code by Zapier + Xero + Pipedrive
Zapier lets you send info between Code by Zapier and Xero and Pipedrive automatically—no code required. With 5,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 + Xero + Pipedrive
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, Xero, and Pipedrive. And don’t forget that you can add more apps and actions to create complex workflows.
CodeRequired
Warning! This is an advanced trigger! Uses Node 10.x.x. Please read the Code documentation for more information.
Zap Id
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planInput Data
Use the Input Data fields above to assign key names (left) and map values (right) from previous steps. Use notation
inputData.keyName
orinputData['keyName']
to access the values within your code. The data will be provided as strings. Learn more here.CodeRequired
Warning! This is an advanced action! Uses Node 10.x.x. Please read the Code documentation for more information.
Zap Id
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.New Bank Transaction
Triggers when a new bank transaction is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Contact
Triggers when you add a new contact.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planQuote Status
If left empty, Zapier will trigger on all new quotes, regardless of status.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planTransaction TypeRequired
ContactRequired
Bank AccountRequired
Date
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact NameRequired
Account Number
Primary Person - First Name
Primary Person - Last Name
Primary Person - Email
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
Also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) depending on which regionalized version of Xero you use.
Bank Account Number
Groups
Add contact to selected group(s). Does not replace contact's existing groups.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TypeRequired
ContactRequired
Date
Defaults to today's date if not specified.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact NameRequired
Email Address
Status
Defaults to Draft if not specified.
Date
Defaults to creation date if not specified.
Due Date
A due date is required for approved invoices.
Currency
Default currency for organization will be used if not specified.
Url
URL link to a source document.
Attachment
Branding Theme
The branding theme to use for this invoice.
Reference
Non-unique alpha numeric code identifying the bill.
Url
URL link to a source document.
Line Items Type
Line amounts are exclusive of tax by default if you don't specify this element.
Item Code
You must provide either an Item Code or both a Description and a Unit Price.
Description
If no Item Code is provided, this field is required.
QuantityRequired
Unit Price
If no Item Code is provided, this field is required.
Account
Tax Rate
Only specify if you want to override the default tax type for the account above.
Tracking
For example: Region - West Coast - see Setting > General Settings > Tracking in Xero for your tracking categories and options.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Document Type
What you'll you provide the ID or number for via the next field.
Document ID or NumberRequired
The ID or Number for the selected Document Type.
Paid ToRequired
The bank account or clearing account the payment is being made to.
Date
Currency Rate
Exchange rate when payment is received. Only used for non base currency invoices.
AmountRequired
Reference
An optional description for the payment.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Owner
Determines which App Extensions will appear in the dropdown below.
App ExtensionRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Search ByRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch ByRequired
Contact NameRequired
Account Number
Primary Person - First Name
Primary Person - Last Name
Primary Person - Email
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
Also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) depending on which regionalized version of Xero you use.
Bank Account Number
Groups
Add contact to selected group(s). Does not replace contact's existing groups.
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundNew Note
Triggers when a new note is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planUpdated Deal
Triggers when an existing deal is updated.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Updated Person
Triggers when an existing person is updated.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planSubjectRequired
Organization
Assign To
If omitted, the activity will be assigned to the user of the connected account.
Person
Deal
Is done?
Type
Due Date and Time
Duration
Format must be HH:MM
Note
Accepts HTML format
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.FileRequired
File NameRequired
Deal
Person
Organization
Product
Activity ID
Note ID
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TitleRequired
Person
Lead must be associated with at least one person or organization.
Organization
Lead must be associated with at least one person or organization.
Owner
Select user who will be marked as the owner of this lead. If omitted, the authorized user will be used.
Note
Supports some HTML formatting. Defaults as an unpinned note unless specified below.
Pin Note to Lead?
If true, the note in the field above will be pinned to the top of this lead.
Label
Expected Close Date
Lead Value
Lead Value Currency
This field is required if a
Lead Value
amount is provided.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.NameRequired
Owner
Address
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.NameRequired
Code
Unit
Tax percentage
Is active?
Owner
Currency
Defaults to account's currency settings if not specified.
Price
A currency must be specified in order to set a price.
Cost
Overhead Cost
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.DealRequired
Title
Status
Stage
Owner
Select user who will be marked as the owner of this deal.
Organization
Organization this deal will be associated with.
Person
Person this deal will be associated with.
Value
Currency
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.OrganizationRequired
Owner
Name
Address
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Owner
Determines which App Extensions will appear in the dropdown below.
App ExtensionRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.SubjectRequired
Partial sentences are ok, we'll try to find the best match.
Assigned To
Type
Filter
If you have a lot of activities (thousands), try using a Pipedrive filter to narrow down the results.
Status
Note that "Not Done" is set as the default when no option is picked.
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for a deal titledZapier
when this field is set toyes
, the search will NOT return a deal namedZapier Deal
, but it would return a deal namedZapier
orzapier
.
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for the nameZap Zaplar
when this field is set toyes
, the search will NOT return a person namedZap Zaplar Jr.
, but would return a person namedZap Zaplar
orzap zaplar
.
ActionThis is an event a Zap performs.SearchFind existing data in your appFind Product(s)
Finds a product or products by name, ID, or product code (with line item support).
ActionThis is an event a Zap performs.SearchFind existing data in your appSubjectRequired
Partial sentences are ok, we'll try to find the best match.
Assign To
If omitted, the activity will be assigned to the user of the connected account.
Type
Filter
If you have a lot of activities (thousands), try using a Pipedrive filter to narrow down the results.
Is done?
Note that "Not Done" is set as the default when no option is picked.
Organization
Person
Deal
Due Date and Time
Duration
Format must be HH:MM
Note
Accepts HTML format
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for a deal titledZapier
when this field is set toyes
, the search will NOT return a deal namedZapier Deal
, but it would return a deal namedZapier
orzapier
.TitleRequired
Person
Lead must be associated with at least one person or organization.
Organization
Lead must be associated with at least one person or organization.
Owner
Select user who will be marked as the owner of this lead. If omitted, the authorized user will be used.
Note
Supports some HTML formatting. Defaults as an unpinned note unless specified below.
Pin Note to Lead?
If true, the note in the field above will be pinned to the top of this lead.
Label
Expected Close Date
Lead Value
Lead Value Currency
This field is required if a
Lead Value
amount is provided.
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for the nameZap Zaplar
when this field is set toyes
, the search will NOT return a person namedZap Zaplar Jr.
, but would return a person namedZap Zaplar
orzap zaplar
.NameRequired
Owner
Organization
Email
Phone
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
CodeRequired
Warning! This is an advanced trigger! Please read the Code documentation for more information.
Zap Id
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planInput Data
Use the Input Data fields above to assign key names (left) and map values (right) from previous steps. Use notation
input_data['keyName']
to access the values within your code. The data will be provided as strings. Learn more here.CodeRequired
Warning! This is an advanced trigger! Please read the Code documentation for more information.
Zap Id
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.New Expense Claim Receipt
Triggers when you add a new draft expense claim receipt.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planInvoiceRequired
Item Code
You must provide either an Item Code or both a Description and a Unit Price.
Description
If no Item Code is provided, this field is required.
QuantityRequired
Unit Price
If no Item Code is provided, this field is required.
Discount %
Account
Tax Rate
Only specify if you want to override the default tax type for the account above.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.From AccountRequired
The bank account the payment is being made from.
To AccountRequired
The bank account the payment is being made to.
AmountRequired
Date
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.ContactRequired
Date
Defaults to current date if not specified.
Expiry
Quote Number
If you want Xero to auto-generate a Quote Number for you, leave this field blank.
Reference
Theme
Title
Summary
Currency
Amounts Are
Defaults to Tax Exclusive if not specified
Item Code
DescriptionRequired
Quantity
Unit Price
Discount %
Account
Tax Rate
Terms
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Invoice NumberRequired
To email an invoice, it must have a status of Awaiting Approval, Awaiting Payment or Paid. The email will be sent to the primary email address of the contact on the invoice and any others marked as "Include in emails." The subject and body of the email will be based on the default email template.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact NameRequired
Email Address
Status
Defaults to Draft if not specified.
Date
Defaults to creation date if not specified.
Due Date
A due date is required for approved invoices.
Currency
Default currency for organization will be used if not specified.
Url
URL link to a source document.
Attachment
Branding Theme
The branding theme to use for this invoice.
Number
Unique alpha numeric code identifying invoice - leave blank for auto-generated value.
Reference
An additional reference number
Url
URL link to a source document.
Sent To Contact
Mark invoice as "sent" (note: does not actually send an email). This can be set only on invoices that have a status of "approved" You can set this in the Status field above.
Line Items Type
Line amounts are exclusive of tax by default if you don't specify this element.
Item Code
You must provide either an Item Code or both a Description and a Unit Price.
Description
If no Item Code is provided, this field is required.
QuantityRequired
Unit Price
If no Item Code is provided, this field is required.
Discount %
Account
Tax Rate
Only specify if you want to override the default tax type for the account above.
Tracking
For example: Region - West Coast - see Setting > General Settings > Tracking in Xero for your tracking categories and options.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact (supplier)Required
Date
When the purchase order was issued. Defaults to today's date if not specified.
Delivery Date
Order Number
If left blank, Xero will auto-generate this from your default invoice numbering.
Reference
Theme
Currency
Tax Type
Item Code
You must provide either an Item Code or both a Description and a Unit Price.
Description
If no Item Code is provided, this field is required.
QuantityRequired
Unit Price
If no Item Code is provided, this field is required.
Discount %
Account
Tax Rate
Only specify if you want to override the default tax type for the account above.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Api Docs Info
API docs for Xero are located here https://developer.xero.com/documentation/api/accounting/overview
HTTP MethodRequired
URLRequired
Requests can only be made to domains associated by this application.
Query String Parameters
These params will be URL-encoded and appended to the URL when making the request.
Headers
Authentication headers are included automatically
Additional Request Headers
Zapier will apply these optional headers and values to the request in addition to any headers created as part of the authentication mechanism.
Body
Zapier will pass this along raw. If you would like to provide complex JSON, try a "Code by Zapier" step to build the structure and pass it along here. For example,
{"foo": "bar"}
is perfectly valid.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Search ByRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appNew Activity
Triggers when a new activity is created.
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.New Lead
Triggers when a Lead is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Organization
Triggers when a new organization is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planNew Person
Triggers when a new person is created.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planStage in Pipeline
If no stage is specified, the trigger will fire on any deal who's stage was updated.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Updated Organization
Triggers when an existing organization is updated.
Try ItTriggerThis is the start of your ZapScheduledZapier checks for new data every 15 min on the Free planDealRequired
ProductRequired
PriceRequired
Price at which this product will be added to the deal.
QuantityRequired
How many items of this product will be added to the deal.
Discount Percentage
Comments
Is enabled?
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TitleRequired
Creation Date
Requires Admin access to Pipedrive account
Status
Stage
Owner
Select user who will be marked as the owner of this deal. If omitted, the authorized user will be used.
Organization
Organization this deal will be associated with.
Person
Person this deal will be associated with.
Probability
Expected Close Date
Value
Currency
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.FollowerRequired
The user you want to assign as a follower.
What to add follower to?Required
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.ContentRequired
Supports some HTML formatting.
Deal
Note must be associated with at least one deal, person, organization, or lead.
Pin note on specified deal?
Person
Note must be associated with at least one deal, person, organization, or lead.
Pin note on specified person?
Organization
Note must be associated with at least one deal, person, organization, or lead.
Pin note on specified organization?
Lead
Note must be associated with at least one deal, person, organization, or lead.
Pin note on specified lead?
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.NameRequired
Owner
Organization
Email
Phone
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.ActivityRequired
Is Done?
Subject
Assign To
Deal
Person
Due Date and Time
Duration
Format must be HH:MM
Note
Accepts HTML format
Type
Organization
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.LeadRequired
Title
Owner
Select user who will be marked as the owner of this lead.
Organization
Organization this lead will be associated with.
Person
Person this lead will be associated with.
Label
Expected Close Date
Lead Value
Lead Value Currency
This field is required if a
Lead Value
amount is provided.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.PersonRequired
Name
Owner
Organization
Email
Will overwrite current email addresses.
Phone
Will overwrite current phone numbers.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Api Docs Info
API docs for Pipedrive are located here https://developers.pipedrive.com/docs/api/v1
HTTP MethodRequired
URLRequired
Requests can only be made to domains associated by this application.
Query String Parameters
These params will be URL-encoded and appended to the URL when making the request.
Headers
Authentication headers are included automatically
Additional Request Headers
Zapier will apply these optional headers and values to the request in addition to any headers created as part of the authentication mechanism.
Body
Zapier will pass this along raw. If you would like to provide complex JSON, try a "Code by Zapier" step to build the structure and pass it along here. For example,
{"foo": "bar"}
is perfectly valid.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Search for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for a deal titledZapier
when this field is set toyes
, the search will NOT return a deal namedZapier Deal
, but it would return a deal namedZapier
orzapier
.
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching forZapier
when this field is set toyes
, the search will NOT return an org namedZapier Inc
, but would return an org namedZapier
orzapier
.
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch termRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appField to Search ByRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching for a deal titledZapier
when this field is set toyes
, the search will NOT return a deal namedZapier Deal
, but it would return a deal namedZapier
orzapier
.TitleRequired
Creation Date
Requires Admin access to Pipedrive account
Status
Stage
Owner
Select user who will be marked as the owner of this deal. If omitted, the authorized user will be used.
Organization
Organization this deal will be associated with.
Person
Person this deal will be associated with.
Probability
Expected Close Date
Value
Currency
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundSearch for an Exact Match?
If
no
, a fuzzy match result can be returned. For example, if searching forZapier
when this field is set toyes
, the search will NOT return an org namedZapier Inc
, but would return an org namedZapier
orzapier
.NameRequired
Owner
Address
ActionThis is an event a Zap performs.Search or writeFind existing data in your app, or create a new record if no data is foundSearch termRequired
NameRequired
Code
Unit
Tax percentage
Is active?
Owner
Currency
Defaults to account's currency settings if not specified.
Price
A currency must be specified in order to set a price.
Cost
Overhead Cost
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
Connect your apps and automate workflows
Easy automation for busy people. Zapier moves info between your web apps automatically, so you can focus on your most important work.
How Code by Zapier + Xero + Pipedrive Integrations Work
- Step 1: Authenticate Code by Zapier, Xero, and Pipedrive.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.
Related categories
Related categories
Related categories
Get started for free
You can't add more hours to the day. Zapier is the next best thing.
Other Code by Zapier + Xero Integrations
Other Code by Zapier + Pipedrive Integrations
- facebook-lead-ads
- email-parser
- airtable
- mailchimp
- gravity-forms
- google-calendar
- calendly
- woocommerce
- url-shortener
- unbounce
- schedule
- mysql
- google-forms
- servicetrade
- sendpulse
- pandadoc
- jira-software
- asana
- apollo
- wix-automations
- sub-zap-by-zapier
- smoove
- shopify
- netlify
- hubspot
- drip
- webinarjam
- quickbooks
- zoom
- zoho-forms
- zendesk
- wishpond
- viral-loops
- upcall
- twilio
- trustpilot
- trello
- toggl
- stripe
- storage
- smtp
- sendinblue
- scheduleonce
- rss
- ringcentral
- qwilr
- poptin
- podio
- planview-leankit
- phantombuster
- outgrow
- notion
- ninjaforms
- microsoft-outlook
- manychat
- mandrill
- mailshake
- lusha
- lemlist
- leadpops
- leadoo
- landbot
- klick-tipp
- kissflow
- keap-max-classic
- jotform
- intercom
- instapage
- imap
- help-scout
- google-drive
- google-docs
- front-app
- emma
- digest
- cloudtalk
- cliengo
- cleverreach
- chargebee
- callrail
- basecamp2
- aloware
- activecampaign
- postgresql
- excel
- 123formbuilder
- responder