Create contact in Xero via Teams

Accounting

What it does

When someone runs the create_contact command in Teams, this automation prompts for contact details and creates the contact in Xero. A reply confirms the new contact was added with all the information provided.

Who it's for

Accounting teams who need to add a Xero contact from Teams without opening Xero.

How teams use this

Add a contact without opening Xero

Create the contact from Teams with a name, email, and phone number, and get a confirmation back in the thread. Nothing else has to change for the team to use it.

Let sales add contacts from deals

Invite the bot to a sales channel so a closed deal can become a Xero contact from the conversation. The flow stays the same and only the channel changes.

Add a company name to each contact

Include a company name prompt to the command so the new Xero contact is created with an organization field as well as email and phone. That is the only extra piece this setup needs.

How it works

  1. Ask for contact details. Type the create_contact command in a Teams channel or direct message. Provide the contact name, first name, last name, email address, and phone number when prompted.
  2. Create the contact in Xero. Create a new contact in Xero using the contact name, first name, last name, email address, and phone number from the command.
  3. Confirm the new contact. Reply in the same Teams conversation with the contact details so the channel knows the Xero contact was created.