Processing inbound data in real time You can synchronize Salesforce contact records, person account records, and account-to-contact relationships with Customer 360 SaaS in real time. Records created or updated in Salesforce can be accessed immediately in Customer 360 SaaS .
To configure Salesforce to process records in real time, perform the following tasks:
1 Install the Salesforce managed package in the Salesforce organization.For more information about the Salesforce managed package, see
Installing the Salesforce Managed Package .
2 Import the Application Integration assets for real-time inbound data synchronization.For more information about importing
Application Integration assets for real-time inbound data synchronization, see
Importing the Application Integration assets for real-time inbound data synchronization .
3 Configure the Salesforce connection.For more information about configuring Salesforce connection, see
Configuring the Salesforce connection .
4 Configure the Customer 360 connection.For more information about configuring Customer 360 connection, see
Configuring the Customer 360 connection .
5 Configure Application Integration URN mappings for real-time inbound data synchronization.For more information about configuring
Application Integration URN mappings for real-time inbound data synchronization, see
Configuring Application Integration URN mappings for real-time inbound data synchronization .
6 Publish the Application Integration assets for real-time inbound data synchronization.For more information about publishing the
Application Integration assets for real-time inbound data synchronization, see
Publishing the Application Integration assets for real-time inbound data synchronization .
7 Create Salesforce flows for each asset.For more information about creating Salesforce flows, see
Creating Salesforce flows .
Importing the Application Integration assets for real-time inbound data synchronization After you install the Salesforce managed package, import the Application Integration assets to Customer 360 SaaS .
Before you import the assets, extract the extension package. For more information about extracting the extension package, see
Downloading and extracting Customer 360 Extension for Salesforce .
1 In Application Integration , click Explore > Import .2 Navigate to the following file:<Extracted extension package>/4_CAI_Assets/4_CAI_Assets_RT_Inbound.zip
3 Click Open .The Import Assets page lists the assets in the file.
4 Ensure that all the assets are selected, and click Import .5 On the My Import/Export Logs page, verify that the import job is successful.Configuring the Salesforce connection After you import the assets, configure the Salesforce connection.
1 In Application Integration , click Explore > Customer360 > Salesforce Extension > Salesforce .2 To authenticate the Salesforce connection using OAuth, select OAuth in the Authentication Type list.3 On the Properties tab, configure the connection properties.4 Click Save .5 Test the connection, and ensure that it's successful.6 Expand the Actions menu, and click Publish .Configuring the Customer 360 connection After you configure the Salesforce connection, configure the Customer 360 connection.
1 In Application Integration , click Explore > Customer360 > Salesforce Extension > Customer360 .2 On the Properties tab, provide the following details:3 Click Save .4 Expand the Actions menu, and click Publish .Configuring Application Integration URN mappings for real-time inbound data synchronization After you configure connections, create the source system URN mappings to deploy the real-time inbound assets to the cloud.
1 In Application Integration Console, click Deployed Assets , and select Cloud .
2 Click the URN Mappings tab.
3 Create the following URN mappings:
URN
Sample URL
Customer360URL
https://<POD name>-mdm.dm-<POD region>.informaticacloud.com
Reference360URL
https://<POD name>-mdm.dm-<POD region>.informaticacloud.com/rdm-service
SourceSystemID
infac360sf_src_Salesforce
For more information about URN Mappings, see
URN Mappings .
Updating the runtime environment Update the runtime environment to run the Secure Agent on the Cloud Server.
1 In Application Integration , click Explore > Customer360 > Salesforce Extension > infac360sf_proc_GetCrosswalkId .
2 Expand the Actions menu, and click Publish .
The infac360sf_proc_GetCrosswalkId process publishes successfully.
3 On the Design page, click Start .
4 In the infac360sf_proc_GetCrosswalkId Properties section, click Start .
5 Set the Run On field value to Cloud Server .
6 Click Save .
Publishing the Application Integration assets for real-time inbound data synchronization After you configure the Customer 360 URLs in the Application Integration assets, publish the assets.
Note: To avoid caching issues, use the incognito mode in your browser when you work with the Application Integration assets.
1 In Application Integration , click Explore > Customer360 > Salesforce Extension .2 Select an asset, expand the Actions menu, and click Publish .Publish the assets in the following order:
a C360SaaSConnector_ListRefDataSetsb infac360sf-app-conn-ListRefDataSetsc infac360sf_proc_GetCrosswalkIdd C360SaaSConnector_GetCrosswalkMappinge infac360sf-app-conn-GetCrosswalkMappingf infac360sf_proc_GetCrosswalkMappingg infac360sf_proc_GetTargetValueFromCrosswalkMappingh infac360sf_srvconn_salesforce_account_inbound_rti infac360sf-appconn-salesforce-account-inbound-rtj infac360sf_proc_salesforce_account_organization_inbound_rtk infac360sf_srvconn_salesforce_personaccount_inbound_rtl infac360sf-appconn-salesforce-personaccount-inbound-rtm infac360sf_proc_salesforce_personaccount_person_inbound_rtn infac360sf_srvconn_salesforce_contact_inbound_rto infac360sf-appconn-salesforce-contact-inbound-rtp infac360sf_proc_salesforce_contact_person_inbound_rtq infac360sf_srvconn_salesforce_contact_contactrel_inbound_rtr infac360sf-appconn-salesforce-contact-contactrel-inbound-rts infac360sf_proc_salesforce_contact_contactrel_inbound_rtCreating Salesforce flows After you publish the assets, set up Salesforce outbound messages, and create a Salesforce flow for each process to send the outbound message when a record is created or updated.
Setting up Salesforce outbound messages Before you configure the Salesforce flows, set up the outbound messages for each Salesforce object.
1 Log in to your Salesforce account.2 Click the quick access menu ( ), and then click Setup .The Setup Home page appears.
3 Under PLATFORM TOOLS , click Process Automation > Workflow Actions > Outbound Messages .The Understanding Workflow page appears.
4 Select Don't show me this page again , and click Continue .The Outbound Messages page appears.
5 Click New Outbound Message .6 Select the object with the fields that you want to include in the message.The following table lists the Salesforce objects and the corresponding processes for which you must create outbound messages:
Salesforce Object
Process
Account
infac360sf_proc_salesforce_account_organization_inbound_rt
Person account
infac360sf_proc_salesforce_personaccount_person_inbound_rt
Contact
Create outbound messages for the following processes:
- infac360sf_proc_salesforce_contact_person_inbound_rt - infac360sf_proc_salesforce_contact_contactrel_inbound_rt
7 Click Next .The Configure Outbound Message page appears.
Configuring an outbound message for Salesforce objects After you select the Salesforce object, enter the details of an outbound message and select the fields that you want to include in the message.
1 In the Configure Outbound Message page, for the Name field, enter a name for the outbound message.
For example, enter the name infac360sf_msg_account_outbound .
2 In the Unique Name field, enter a unique name for the outbound message.
3 In the Description field, enter a description for the outbound message.
4 In the Endpoint URL field, enter the endpoint URL. To get the endpoint URL from Application Integration, perform the following tasks:
a In Application Integration, click Explore > Customer360 > Salesforce Extension . b For each of the following processes, perform steps 4.c through 4.e : ▪ infac360sf_proc_salesforce_contact_person_inbound_rt▪ infac360sf_proc_salesforce_contact_contactrel_inbound_rt▪ infac360sf_proc_salesforce_account_organization_inbound_rt▪ infac360sf_proc_salesforce_personaccount_person_inbound_rtc Select the process. d From the Actions menu, select Properties Detail . e Copy the Salesforce Outbound Message URL to use as the endpoint URL. 5 Select Send Session ID .
6 In the Account fields to send section, add the required fields from Available Fields to Selected Fields .
7 Click Save .
Building Salesforce flows After you specify Salesforce outbound messages for the workflow action, create Salesforce flows for each process.
1 Log in to your Salesforce account.2 Click the quick access menu ( ), and then click Setup .The Setup Home page appears.
3 Under PLATFORM TOOLS , click Process Automation > Flows .The Flows page opens.
4 Click New Flow .The New Flow dialog box appears.
5 Select Record-Triggered Flow and click Create .6 Select the object whose records trigger the flow.7 To configure the trigger, enable A record is created or updated .8 To set the entry conditions, select Formula Evaluates to True .9 In the Formula field, enter a condition for the object.For more information about the processes for Salesforce objects, see the table in
Setting up Salesforce outbound messages .
The following table lists the conditions that you can configure for each process:
Application Integration Process
Condition
infac360sf_proc_salesforce_account_organization_inbound_rt
OR( AND ( ISNEW(), {!$Record.RecordType.DeveloperName} = 'Business_Account', ISBLANK({!$Record.Customer360_Id__c}), ISBLANK({!$Record.Customer360_Sync_Date__c}) ) , AND ( NOT(ISNEW()), {!$Record.RecordType.DeveloperName} = 'Business_Account', NOT(ISCHANGED({!$Record.Customer360_Sync_Date__c})), NOT(ISCHANGED({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Sync_Date__c})) ))
infac360sf_proc_salesforce_personaccount_person_inbound_rt
OR( AND ( ISNEW(), {!$Record.RecordType.DeveloperName} = 'PersonAccount', ISBLANK({!$Record.Customer360_Id__c}), ISBLANK({!$Record.Customer360_Sync_Date__c}) ) , AND ( NOT(ISNEW()), {!$Record.RecordType.DeveloperName} = 'PersonAccount', NOT(ISCHANGED({!$Record.Customer360_Sync_Date__c})), NOT(ISCHANGED({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Sync_Date__c})) ))
infac360sf_proc_salesforce_contact_person_inbound_rt
OR( AND ( ISNEW(), ISBLANK({!$Record.Customer360_Id__c}), ISBLANK({!$Record.Customer360_Sync_Date__c}) ) , AND ( NOT(ISNEW()), NOT(ISCHANGED({!$Record.Customer360_Sync_Date__c})), NOT(ISCHANGED({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Id__c})), NOT(ISBLANK({!$Record.Customer360_Sync_Date__c})) ))
infac360sf_proc_salesforce_contact_contactrel_inbound_rt
OR (AccountId <> '', ISCHANGED(AccountId))
10 To validate the syntax, click Check Syntax .11 Click Done .12 To add an action to run immediately after the flow is triggered, click Add element icon.13 Click Action .The New Action dialog box appears.
14 Select Outbound Message .15 From the Action bar, select the outbound message.16 Enter the label and API name.For example, enter infac360sf_msg_account_outbound .
17 Click Done , and click Save .The Save the flow dialog box appears.
18 Enter the flow label and flow API name.For example, enter infac360sf_msg_account_outbound .
19 Click Save , and then click Activate .20 Repeat steps 3 through 19 for all Salesforce objects.Testing the integration for real-time inbound data synchronization After you create the Salesforce flows, test the integration between Salesforce and Customer 360 SaaS .
Create or update a record in Salesforce. The Application Integration process synchronizes the record to Customer 360 SaaS . Verify that the record appears with the updated data in Customer 360 SaaS .