Create Contact in Xero from Salesforce
Social, UtilitiesAccountingCRMMarketingSales
What it does
When someone runs the create contact command in Slack, this automation searches Xero for that contact. If none exists, it searches Salesforce for a matching account and creates the Xero contact from that data.
Who it's for
Accounting teams who need to sync contacts between Salesforce and Xero from Slack.
Apps used
How teams use this
Sync a Salesforce account to Xero
Create a Xero contact from a Salesforce account without leaving Slack. The team gets a confirmation in the channel and the contact is ready in Xero.
Let sales teams create contacts
Invite the bot to a sales channel so deals can become Xero contacts from the conversation. The flow stays the same and only the channel changes.
Add company name to the contact
Include a company field in the command so the new Xero contact is created with a name, email, and company. Add that prompt to the command to capture the extra data.
Check for duplicates before creating
Filter the search results to only create a contact if no match is found in either system. Add a condition to verify the contact does not exist before the create step runs.
How it works
- Run the create contact command. Type the create contact command in Slack with the contact details like name and email address so the automation can begin.
- Search Xero for that contact. Look up the contact in Xero by name or email so a duplicate record is not created in the system.
- Search Salesforce for the account. If the contact does not exist in Xero, search Salesforce for a matching account to pull contact data from for the new record.
- Create the contact in Xero. Create the new contact in Xero using the account data from Salesforce, then post a reply in Slack so the channel knows the outcome.