You’ll need to be an Admin or Owner to set up and manage automations.
Create automated workflows by defining triggers, conditions, and actions. For example, when a customer record is created (trigger) for a lead located in EMEA (condition), assign them to a particular salesperson (action).
Here’s what we cover in this article:
Before you begin
- Review the details and custom attributes of a customer record.
- Identify or create any custom attributes and tags to use with automations.
- If you want to automate merging customers, decide how to detect duplicate customers: based on matching external IDs, domains (website URLs), company names, or a combination of these properties.
Setting up an automation
ChartMogul allows a maximum of eight active automations.
To set up an automation, navigate to Settings & Data > Manage > Automations and click Add Automation.
Enter the Automation name and follow these steps:
1. Selecting a trigger
Under Select a trigger, choose the event that will trigger your automation:
- Customer created — When a new customer is imported or created in ChartMogul
- Customer created or updated — When a customer is created or any customer property changes its value
- Customer created and classified as duplicate — When a customer is created and ChartMogul finds a duplicate among existing customers (see below)
For the Customer created and classified as duplicate trigger, configure your definition of a duplicate customer by selecting one or more matching properties (all comparisons are case-sensitive):
- External ID — Customers must have the same external ID to be merged. A customer’s external ID is their unique ID created by a user (not to be confused with their UUID, which is automatically generated by ChartMogul).
- Domain (website URL) — Customers must have the same website domain to be merged. When detecting duplicate customers, ChartMogul ignores common domains like gmail.com or outlook.com.
- Company name — Customers must have the same company name to be merged.
-
A matching pair of properties that you define — Use the drop-downs to select properties on the new and existing customer records that must match for the customers to be merged. Choose from:
- Company Name
- Domain (Website URL)
- External ID
- Primary Contact Email
- Any custom attribute
2. Defining conditions
All conditions must be met to trigger your actions. Conditions behave as if joined by the AND
operator (rather than the OR
operator).
Under Customer meets ALL these conditions (optional), configure any conditions that need to be met to trigger your actions:
- Click Add Condition.
- Select an attribute:
- Customer status — Customer status in ChartMogul
- Owner — The primary salesperson responsible for the customer
- Region — The customer’s region
- Company name — The name of the customer’s company
- Lead created at — The date and time when the lead was created
- Free trial started at — The date and time when the free trial started
- Website URL — The customer’s website address
- Source — The source where the customer is stored
- MRR (current) — The customer’s current Monthly Recurring Revenue (MRR)
- Subscriber since — The date when the customer started their first subscription
- Tags — Tags added to the customer
- Or a custom attribute
- Select an operator:
Attributes Available operators Customer status, Source, Tags - is one of
- is none of
- has all of
- is present
- is not present
Owner - is one of
- is none of
Region - is one of
- is none of
- is present
- is not present
Company name, Website URL, custom attributes of the string type (text) - is
- is not
- contains
- does not contain
- is present
- is not present
- is one of
MRR (current), custom attributes of the number type - equals
- does not equal
- is less than
- is more than
- is less than or equal to
- is more than or equal to
- is between
- is present
- is not present
Free trial started at, Lead created at, Subscriber since, custom attributes of the timestamp type (date and time) - is on
- is after
- is before
- is on or after
- is on or before
- is within
- is present
- is not present
Custom attributes of the Boolean type (true or false) - is true
- is false
- is present
- is not present
- Depending on the attribute type, enter a value or select one or more options from the list.
- Click Add.
- Repeat steps 1–5 to add conditions.
3. Selecting actions
Under Perform these actions, configure one or more actions to be performed:
- Click Add Action.
- Select the action type:
- Update customer property
- Merge duplicate customer(s) (available only for the Customer created and classified as duplicate trigger)
- If you chose Update customer property, select Owner, Lead status, Add tags, or a custom attribute. Then, enter a value or select one or more options from the list.
- Click Add.
- Repeat steps 1–4 to add actions.
Click Save to create and enable your automation.
Managing automations
Navigate to Settings & Data > Manage > Automations to view all your automations.
Enabling and disabling automations
Enable and disable automations by toggling the On/Off switch under Status.
Automations only detect triggers while they are enabled.
Imagine you have a customer with the external ID cus_0001
. Then you create and enable an automation to merge customers with the same external ID. If you now create or import a customer with the same external ID, cus_0001
, ChartMogul won’t search your existing customers for matching external IDs, so the two customers won’t be merged.
Editing automations
To edit an automation, choose it from the list, adjust its trigger, conditions, and actions, and click SAVE.
Deleting automations
Deleting an automation is permanent and cannot be undone.
To delete an automation, choose it from the list and click Delete This Automation . Confirm by clicking OK.
Example automations
Here are some examples of automated workflows. Write to us to share your ideas for automations.
Merging duplicate customers
ChartMogul doesn’t automatically merge more than two customers at a time. When the automation identifies more than two customer records as duplicates, they remain unmerged. Merge such customers manually.
To automatically merge duplicate customers when they are created in ChartMogul:
- Select the Customer created and classified as duplicate trigger.
- Configure your definition of a duplicate customer by selecting one or more matching properties:
- External ID
- Domain (website URL)
- Company name
- A matching pair of properties that you define
- Configure any additional conditions. For example, to only merge duplicate customers from a particular source, set the following condition:
- Source — is one of — Select a source
- Select the Merge duplicate customer(s) action.
Lead routing based on territory
To automatically assign new leads to salespeople based on territory:
- Select the Customer created trigger.
- Set the following conditions:
- Region — is one of — Select one or more regions
- Set the following action:
- Update customer property — Owner — Select the salesperson who manages leads in the territory
Identifying managed customers based on recurring revenue
To automatically tag customers who reach a certain level of MRR:
- Select the Customer created or updated trigger.
- Set the following condition:
- MRR — is more than or equal to — Enter a value
- Set the following action:
-
Update customer property — Add tags — Select a tag, e.g.,
managed_customer
-
Update customer property — Add tags — Select a tag, e.g.,