Close menu
Explore Plans
Mobile menu Close menu
Xero

Create or update a contact

This action will create a contact, or update the matching contact, in the organisation you select. The contact name is the match key for updates.

Developer info

API endpoint slug
xero.create_or_update_contact
Filter code method
Xero.createOrUpdateContact.skip(string?: reason)
Runtime method
runAction("xero.create_or_update_contact", {})

Action fields

Organisation Dropdown list

Label
Which organisation?
Helper text
The Xero organisation to create the contact in.
Slug
organisation
Required
true
Can have default value
false

Contact name Text input > Other

Label
Contact name
Helper text
Contact or business name; this is the match key for updates.
Slug
contact_name
Required
true
Can have default value
true
Filter code method
Xero.createOrUpdateContact.setContactName(string: contact_name)

First name Text input > Other

Label
First name
Helper text
The contact's first name.
Slug
first_name
Required
false
Can have default value
true
Filter code method
Xero.createOrUpdateContact.setFirstName(string: first_name)

Last name Text input > Other

Label
Last name
Helper text
The contact's last name.
Slug
last_name
Required
false
Can have default value
true
Filter code method
Xero.createOrUpdateContact.setLastName(string: last_name)

Email address Text input > Other

Label
Email address
Helper text
The contact's email address.
Slug
email_address
Required
false
Can have default value
true
Filter code method
Xero.createOrUpdateContact.setEmailAddress(string: email_address)

Phone number Text input > Other

Label
Phone number
Helper text
The contact's phone number.
Slug
phone_number
Required
false
Can have default value
true
Filter code method
Xero.createOrUpdateContact.setPhoneNumber(string: phone_number)