Intro
Limio can send notifications of subscription orders and changes to Salesforce via Salesforce Platform Events. These events can be transformed using Salesforce Lightning Flows to populate relevant data in Salesforce, whether in standard objects like Opportunities or custom objects. This allows you to build a 360Ëš view of the subscribers, bringing in your Limio data alongside your existing Salesforce data.
Common use cases include:
-
Notifying agents or salespeople of new orders or subscription changes.
-
Bringing data into Salesforce to enable campaign or sales reporting.
-
Creating leads or updating opportunities to align with Sales-assisted processes.
For example, you could create a list of subscription events into a custom object, which can then be used as the basis for provisioning Entitlements from Salesforce.
Advanced use cases can also involve creating data in Salesforce or calling specific APIs or Apex classes to populate Salesforce or external systems.
Prerequisites
Before setting up Salesforce platform events with Limio, ensure the following prerequisites are met:
-
Your Limio instance is linked to your Salesforce org. If you haven't yet, follow this guide to connect Limio to Salesforce.
-
Salesforce Order V3 Plugin is enabled in Limio. This plugin is what send data from Limio Commerce to Salesforce. Learn more about it here.
-
For this guide, you'll need Salesforce Admin access.
- It's also preferable to have some working knowledge of Salesforce Lightning Flows and Platform Events. However, we'll make sure to walk you through the setup step-by-step if you haven't used them before.
How to activate the feature
At a high-level, once the feature is activated, you'll need to subscribe to the Platform Event and insert the record into a Salesforce object, such as an Asset or an Opportunity. Two options:
A. If you are using Limio for Salesforce, the platform event and a platform event-triggered flow are predefined for you. To activate them:
-
Request the Limio team to enable the Salesforce Order V3 Plugin.
-
Customise the template flow called Listen to Limio OrderEvent__e to align with your business logic.
B. If you are not using Limio for Salesforce, follow these steps:
-
Create a custom event
-
Name the event Order Event Custom (Order_Event_Custom__c).
-
-
Add custom fields to the event
-
Refer to this Limio guide for the list of fields Limio can populate.
-
-
Contact Limio Support
-
Request Salesforce Order V3 Plugin to be configured to send Salesforce Platform Events.
-
Provide the API Name of your platform event (Order_Event_Custom__c) along with the API Names of the custom fields you created.
-
For detailed, step-by-step instructions, please refer to our comprehensive guide.
How to map Limio data to my Salesforce data via Platform Events & Flows
Now that you have activated Salesforce Platform Events and they are coming from Limio into Salesforce, you will now want to map them to your data. You can use Salesforce Lightning Flows to map Limio Platform Events to your Salesforce data. This will allow you to take a Limio Order, transform it via Flows and populate a Salesforce object.
You can see the full list of events and the associated data Limio sends for different order types, go to:
👉 Definitions for Limio-generated Salesforce Platform Events
Comments
0 comments
Please sign in to leave a comment.