How it works

Follow these 7 simple steps to start syncing Mantle plan subscribers to Xero contacts automatically

Mantle logo icon

Customer Subscribed

App connector: Mantle • Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger monitors your Mantle account and kicks off the workflow whenever someone subscribes to a plan, catching new subscribers in real-time so your accounting records stay current without manual data entry.

This trigger watches for new plan subscriptions in Mantle and captures the customer ID when a subscription occurs. It runs continuously in real-time, so there's no delay between someone subscribing and their information flowing into Xero. The trigger passes the customer ID to the next step which retrieves the complete customer profile.

Retrieve Customer

App connector: Mantle • Time to complete: 0 minutes (Auto-configured)
Why this matters: The subscription trigger only provides the customer ID, so this step fetches all the detailed information about the subscriber including their name, email, and location needed to create or update the Xero contact.

This step queries Mantle using the customer ID from the trigger and retrieves the complete customer record including their name, email address, city, and country code. All of this information gets passed forward to later steps—the email is used to search Xero for existing contacts, while the name and location details populate the contact record in Xero.

Get Contact By Email

App connector: Xero • Time to complete: 0 minutes (Auto-configured)
Why this matters: Before creating a new contact, you need to know if this customer already exists in Xero—this search prevents duplicate contact records and determines whether to create or update.

This step searches your Xero contacts using the email address retrieved from Mantle. If a matching contact exists, it returns the Xero Contact ID which gets used in the update path. If no match is found, the search returns empty and triggers the creation of a new contact instead. The search happens automatically using the email from the previous step.

Path - No Existing Contact

App connector: Paths • Time to complete: 0 minutes (Auto-configured)
Why this matters: This rule checks whether the Xero search came back empty—if no contact was found, you need to create a brand new contact record rather than update an existing one.

This rule examines whether the Xero contact search returned any results by checking if the Contact ID is empty. If no contact was found in the previous search step, this path activates and sends the workflow to the Create Contact step. The check happens automatically using the search results from the Get Contact By Email step.

Create Contact

App connector: Xero • Time to complete: 1 minute
Why this matters: New Mantle subscribers need corresponding contact records in Xero so you can track their subscription revenue, send invoices, and maintain accurate accounting records.

This step sends a request to Xero to create a new contact using the customer ID, name, email, city, and country code from Mantle. You can customize which fields get included by editing the body configuration—for example, you might add phone numbers or additional address fields if those exist in your Mantle customer data. The contact appears immediately in Xero once created and is ready for invoicing.

Path - Has Existing Contact

App connector: Paths • Time to complete: 0 minutes (Auto-configured)
Why this matters: This rule handles the opposite scenario—when a contact already exists in Xero, triggering an update to their record instead of creating a duplicate.

This rule checks whether the Xero contact search returned a Contact ID, meaning the customer already exists in your accounting system. If a matching contact was found in the search step, this path activates and routes to the Update Contact step. The logic runs automatically based on the search results.

xero logo icon

Update Contact

App connector: Xero • Time to complete: 1 minute
Why this matters: When a Mantle subscriber already exists in Xero, you need to update their information with the latest subscription details rather than creating a duplicate contact record.

This step sends updated information to Xero and overwrites the existing contact's name, email, city, and country with the current values from Mantle. You can add or remove fields to sync by editing the body configuration—for example, you might add company name or tax information if those fields exist in both systems. The Contact ID from the search step tells Xero exactly which contact record to update.

Make it your own

Customize this workflow even further:

Add subscription plan details to contact notes
Use a Transform step before creating or updating the contact to include which Mantle plan the customer subscribed to in the Xero contact notes field, helping you track which customers are on which plans.
Sync additional customer fields
Expand the data sync by adding phone numbers, company names, physical addresses, or any custom fields you track in Mantle—just map them to the corresponding Xero contact fields in the Create and Update steps.
Send Slack notifications for high-value subscriptions
Add a Filter step after retrieving the customer to check the subscription value, then send a Slack message to your team when someone subscribes to premium or enterprise plans.
Store sync history in MESA Tables
Add a Table step after the Paths End to log each sync with a timestamp, customer email, and whether a contact was created or updated—perfect for auditing and troubleshooting.

Frequently asked questions

What happens if a customer unsubscribes and then resubscribes later?
The workflow will run again when they resubscribe and update their existing Xero contact with the current information from Mantle. Since the contact already exists in Xero, the workflow follows the update path rather than creating a new duplicate contact—you'll maintain their historical accounting data while refreshing their current details.
Can I sync subscription plan details or pricing information to Xero?
The current workflow syncs basic contact information (name, email, location) but doesn't include plan details or pricing. However, you can add another step before the Create/Update Contact steps to extract subscription plan information from Mantle and include it in the Xero contact notes or a custom field.
Will this overwrite custom fields I've manually added to Xero contacts?
No, the workflow only updates the specific fields configured in the Create and Update Contact steps (by default: name, email, city, country). Any other fields you've added or customized in Xero—like notes, tax settings, or account codes—remain untouched unless you explicitly add them to the workflow configuration.
What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.

Ready to start syncing Mantle plan subscribers to Xero contacts automatically?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 7 min setup • Cancel anytime