Limio Commerce has a native integration with Salesforce that allows to create data flexibly in the Salesforce data model. The data will typically be generated on a new order and updated via further subscription changes, such as upgrades and cancellations.
This is useful if you already have a CPQ system in place and need Limio to provide online commerce data to Salesforce.
Note: Limio provides a separate add-on, Limio for Salesforce, which allows customer service, customer success and sales team to manage orders and subscriptions directly in Salesforce. Go here to learn more about Limio for Salesforce. |
Limio's integration with Salesforce is managed via a plugin which is triggered during Limio's event-based Order Orchestration process. This integration allows you to:
- Create a Salesforce Accounts for acquisition flows where your identity solution does not create data in Salesforce natively
- Choose to create a Person Account or Business Account for new orders
- Use Salesforce duplicate rules to avoid Accounts duplication
- Activate Salesforce Platform Events to modify flexibly your Salesforce data with no code
Let's explore those one by one.
Getting started with the Limio Commerce Salesforce Plugin
To use the Salesforce integration, you will need first to integrate your existing Salesforce environment with your Limio Commerce environment. Once done, contact support@limio.com who can enable plugin in Limio's Order Orchestration.
If you wish to use certain options explained in this document, for example using Account & Contact, provide the information in your support request.
Account/Contact objects creation in Salesforce
Create Salesforce Account for new orders
To support unauthenticated acquisition flows and authenticated acquisition flow where the identity provider (e.g. Auth0, AWS Cognito, Microsoft Azure etc...) does not create Salesforce objects at the time of registration, this Limio plugin has the capability to create a Salesforce Account when an order is processed.
When an order is being processed, the Limio plugin for Salesforce will check if there is an existing crm_id
on the user identity:
- If not, it will create a new Salesforce identity.
- If it does find a match, it will display an error to the user, which you can customize in the Form Component. Alternatively, Limio can follow the action of the duplication rule, e.g. add the order to the found crm_id account (see more on duplication rules below), and process the order successfully.
Salesforce Duplicate Rule Check (optional)
It is possible to set up duplication rules in Salesforce, which can match various criteria and perform predefined actions. For example:
- A common action is matching Limio data against email/first name/last name and, if it matches, blocking the user from purchasing.
- Or, matching an email on a user who is not logged in, and adding the order data to their existing Salesforce Account.
You can match on more or less data as you desire. The rule configuration is defined in Salesforce internally, and Limio will respond to the result of the rule by either associating the order to the account or erroring.
Choose to create a Salesforce Person Account or a Salesforce Account & Contact
By default, the plugin will always create a Salesforce Person Account, but if you are a b2b enterprise then you may wish to enable the feature to create a Salesforce Account and Salesforce Contact. Please note, that currently this is an on/off capability so you can either always create personal accounts or always create business accounts.
Some key differences between personal and business accounts:
Personal Account | Business Account |
Salesforce account record will be created with first name + last name as the account name | Salesforce account record will be created with companyName as the account name (or fall back to first/last name if the company name is not present) |
Creates a salesforce account and uses that as the salesforce contact | Creates the salesforce account and contacts separately |
Salesforce contact record created with PersonEmail | Salesforce contact record created with Email |
crm_id will be the salesforce personal account id | crm_id will be the salesforce business account id |
All other objects creation in Salesforce
Work with Salesforce Platform events (optional)
To use Salesforce Platform Events, you need to use the Salesforce plugin. A couple of important consideration for Platform Events:
- You can decide to send events for all Limio orders or specific order types (e.g. just new orders).
- Limio will include the Limio identity and external identity of the customer in the event payload.
- Limio will also append __c in all key values in the object for each order or event type.
- By default, any platform event that is sent will contain all the custom values that Limio sends on all order types. This means you don't need to add them manually.
Once Platform Events are being sent to Salesforce, you will need to implement a Flow in Salesforce to consume the platform events and map the data to the appropriate objects. Learn more in Using Limio Commerce-generated Salesforce Platform Events to populate your Salesforce data.
Send the whole Limio order in the Salesforce Platform Event (optional)
If enabled we will send the whole order as a string in the platform event.
With this option set, it provides a method to pass any details collected conditionally during the checkout and to provide a way to access Limio objects through IDs. For example, the update_subscription order type uses IDs to add and remove offers or add-ons from a subscription. The Salesforce Platform event will now get the Limio object data, so you can map that data back to Salesforce.
Comments
0 comments
Please sign in to leave a comment.