ActiveCampaign + Code by Zapier + Xero Integrations
Zapier lets you send info between ActiveCampaign and Code by Zapier and Xero 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 ActiveCampaign + Code by Zapier + 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 ActiveCampaign, Code by Zapier, and Xero. And don’t forget that you can add more apps and actions to create complex workflows.
Custom ObjectRequired
Select the object you want to trigger this Zap
Trigger EventsRequired
Select which events should trigger this Zap
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Task Type (Optional)
The type of the task based on the available Task Types in your account
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.New Automation Webhook
Triggers when an automation sends out webhook data. To add a webhook in ActiveCampaign, navigate to your Automations section, add or edit an automation, and create a new "Webhook" action.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the campaign link click is associated with.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the Campaign is sent to.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.List
List that the contact note is associated with.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.New Deal Note
Triggers when a new deal note is created.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.New Deal Added or Updated
Triggers when a new deal is created or existing deal is updated.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the subscriber is updated in.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.EventRequired
Tag
Leave blank to trigger for all Tags, begin typing to filter, or use the Custom tab for text/input entry
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Account IDRequired
Name
Website
Suggested Format:
https://www.example.com
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TitleRequired
ValueRequired
In dollars. Example: 350.00.
Owner
The "Auto" option only works if your chosen pipeline has "Automatic Deal Assignment" configured. If no value (or invalid value) is supplied, it will default to the connected ActiveCampaign account user.
CurrencyRequired
Example: usd.
PipelineRequired
StageRequired
Account
Contact Email Address
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.AutomationRequired
The contact will be removed from this automation.
Automation RunRequired
The automation run(s) that the contact will be removed from.
Contact IDRequired
ActiveCampaign ID of the contact.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact IDRequired
Contact that will get added to the account.
Account IDRequired
Choose an account.
Job Title
Set a job title for the related contact.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact IDRequired
The ID of the Contact where the tag will be added or removed
ActionRequired
Add or remove tag from AC Contact
Existing Tags
Choose from list or enter/insert tag data below
Tags
Enter/insert tag data or use the drop down list above, separate tags with a comma
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Custom ObjectRequired
The object that you want to create a record for in ActiveCampaign
Record ID
To update an existing record, provide the record ID or external ID
External ID
To update an existing record, provide the record ID or external ID
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.TitleRequired
ValueRequired
In cents. Example: $350.00 would be 35000.
Owner
The "Auto" option only works if your chosen pipeline has "Automatic Deal Assignment" configured. If no value is supplied, it will default to the connected ActiveCampaign account user.
CurrencyRequired
Example: usd.
PipelineRequired
StageRequired
Account ID
An Account or Contact is required to create a deal.
Contact ID
An Account or Contact is required to create a deal. The Contact selected will be made the Primary Contact.
Description
Deal's description
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Task ID
Insert the task ID to be updated. Leave blank if creating a new task.
Title
The title to be assigned to the task.
Deal IDRequired
Insert the ID of the Deal to be assigned this task.
Note
The content describing the task.
Due DateRequired
Due date of the task ex. 2021-02-25T12:00:00-06:00.
End Date
End Date (i.e. duration) of the task ex. 2021-02-25T12:15:00-06:00. Must be later than Due Date.
Task TypeRequired
The type of the task based on the available Task Types in your account.
Assignee
The id of the user this task will be assigned to.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.ActionRequired
Subscribing will not update lists the Contact already belongs to with any status. Unsubscribing requires the contact already belongs to the list in some status.
List IDRequired
List from which you'd like to your Contact to be Subscribed/Unsubscribed
Contact ID
ActiveCampaign ID of the Contact. NOTE: IF THIS IS NOT PROVIDED, 'Email Address' MUST BE
Email Address
Email of the Contact. NOTE: IF THIS IS NOT PROVIDED, 'Contact ID' MUST BE
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 ActiveCampaign are located here https://developers.activecampaign.com/v3/reference
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.ID
ActiveCampaign ID of the contact. NOTE: IF THIS IS NOT PROVIDED, 'email' MUST BE
Email Address
Email of the contact. NOTE: IF THIS IS NOT PROVIDED, 'id' MUST BE
ActionThis is an event a Zap performs.SearchFind existing data in your appDeal Title
Use either Deal Title or Contact Email to search for a deal. If both are filled out, both the title and email must match on a deal to get a result.
Contact Email
Use either Deal Title or Contact Email to search for a deal. If both are filled out, both the title and email must match on a deal to get a result.
ActionThis is an event a Zap performs.SearchFind existing data in your appDeal Task TitleRequired
The deal task title
Deal ID
The related deal ID
ActionThis is an event a Zap performs.SearchFind existing data in your appCodeRequired
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.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 app
Custom ObjectRequired
Select the object you want to trigger this Zap
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.New or Updated Account
Triggers when a new account is added or an existing account's details are updated.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the campaign bounce is associated with.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the campaign open is associated with.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the campaign unsubscribe is associated with.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.Task type
Leave blank to trigger for all task types, begin typing to filter, or use the Custom tab for text/input entry.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.New Deal Task
Triggers when a new deal task is created.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.ListRequired
List the subscriber is added to.
Importer Note
Adding contacts to lists via the CSV importer will not cause this trigger to fire.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.List
List the subscriber is added or updated in. Leave blank if you wish this trigger to run on all contact adds or updates.
Skip Unsubscribe Events
Choose "Yes" to stop unsubscribe events from triggering the zap.
Importer Note
Creating contacts via the CSV importer will not cause this trigger to fire.
Try ItTriggerThis is the start of your ZapInstantThis event starts a Zap instantly.NameRequired
Website
Suggested Format:
https://www.example.com
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.List
ID
ActiveCampaign ID of the contact. NOTE: IF THIS IS NOT PROVIDED, 'email' MUST BE
Email Address
Email of the contact, once created it cannot be updated via this action. NOTE: IF THIS IS NOT PROVIDED, 'id' MUST BE.
First Name
Last Name
Full Name
Only use this if you can't obtain the first and last name fields separately.
Phone Number
Can be used with our SMS feature.
Tags
Separate multiple tags with a comma (IE: "tag1, tag2, etc").
Organization Name
Job Title
Job Title will be available when there is an Account associated.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.AutomationRequired
Subscriber EmailRequired
The contact email address (to add into the automation).
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Email MessageRequired
The email message (previously created). No HTML/text values accepted here. To generate a new email message, create a new campaign and set up the email message on the template step. Save it, then come back into Zapier and choose that message from the dropdown here.
ListRequired
Campaign NameRequired
This is internal name of the campaign, not the subject.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact IDRequired
Enter the contact ID.
List IDRequired
Enter the List ID or enter zero for all lists.
NoteRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Task ID
Insert the task ID to be updated. Leave blank if creating a new task
Title
The title to be assigned to the task.
Contact IDRequired
Insert the ID of the Contact to be assigned this task.
Note
The content describing the task.
Due DateRequired
Due date of the task ex. 2021-02-25T12:00:00-06:00.
End Date
End Date (i.e. duration) of the task ex. 2021-02-25T12:15:00-06:00. Must be later than Due Date.
Task TypeRequired
The type of the task based on the available Task Types in your account.
Assignee
The id of the user this task will be assigned to.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Contact IDRequired
Deal IDRequired
Role
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.DealRequired
NoteRequired
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.DealRequired
Title
Value
In cents. Example: $350.00 would be 35000.
Currency
Example: usd.
Owner
Pipeline
Stage
Account ID
Contact ID
Status
Description
Deal's description
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.Event KeyRequired
Found under the Settings > Tracking > Event Tracking section of ActiveCampaign.
Event Account IDRequired
Found under the Settings > Tracking > Event Tracking API section of ActiveCampaign.
Event NameRequired
Event Value
Contact Email Address
If not supplied the event will still be saved.
ActionThis is an event a Zap performs.WriteCreate a new record or update an existing record in your app.NameRequired
ActionThis is an event a Zap performs.SearchFind existing data in your appContact Task TitleRequired
The contact task title
Contact ID
The related contact ID
ActionThis is an event a Zap performs.SearchFind existing data in your appTitle
The title of the Deal
Contact Email
The email of a Contact on the Deal
ActionThis is an event a Zap performs.SearchFind existing data in your appEmailRequired
Email of the user being searched
ActionThis is an event a Zap performs.SearchFind existing data in your appCodeRequired
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.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 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 to connect ActiveCampaign + Code by Zapier + Xero
- Step 1: Authenticate ActiveCampaign, Code by Zapier, 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.
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 ActiveCampaign + Code by Zapier Integrations
- clickfunnels
- twilio
- gmail
- calendly
- stripe
- shopify
- trello
- slack
- mysql
- google-ads
- webflow
- visual-visitor
- teachable
- salesforce
- jotform
- instabot
- gravity-forms
- google-calendar
- email-parser
- cliengo
- acuity-scheduling
- zoom
- zoho-crm
- zendesk
- youcanbookme
- webinarkit
- waiverforever
- viralsweep
- translate
- textmagic
- tawk-to
- super-forms
- simpro
- signnow
- schedule
- samcart
- podia
- plug-pay
- plecto
- pipedrive
- ontraport
- nocrm-io
- ninjaforms
- linkedin-lead-gen-forms
- knack
- keystone-academic-solutions
- kajabi
- hubspot
- help-scout
- hellosign
- gotowebinar
- closeio
- clio
- clicksend
- callrail
- scheduleonce
- paykickstart