Processing data in real time You can synchronize Salesforce contact records, person account records, and account to contact relationships with Customer 360 in real time. Records created or updated in Salesforce can be accessed in Customer 360 SaaS in real time.
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, see Installing the Salesforce Managed Package .2 Import the Application Integration assets. For more information about importing Application Integration assets, see Importing the Application Integration assets .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 Publish the Application Integration assets. For more information about publishing the Application Integration assets, see Publishing the assets for real time synchronization .6 Create Salesforce flows for each asset. For more information about creating Salesforce flows, see Creating Salesforce flows .Importing the Application Integration assets After you install the Salesforce managed package, import the
Application Integration assets to
Customer 360 SaaS . Ensure that you extracted the extension package. For more information about extracting the extension package, see
Downloading and extracting the Customer 360 Extension for Salesforce package .
1 In Application Integration, click Explore > Import .2 Navigate to the following file:<Extracted extension package>/4_CAI_Assets.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 importing the assets, configure the Salesforce connection.
1 In Application Integration, click Explore > Customer360 > Salesforce Extension > Salesforce .2 On the Properties tab, provide the following details:- User Name. The Salesforce user name.- Password. The Salesforce password.- Security Token. The Salesforce security token. This is a case-sensitive alphanumeric code used as a second level of authentication.3 Click Save .4 Test the connection, and ensure that the connection is successful.5 Expand the Actions menu, and select 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 select Publish .Configuring the Cloud Application Integration URN Mappings To deploy the assets to the cloud, map a URN to a URL.
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
For more information, 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 select Publish .
The infac360sf_proc_GetCrosswalkId guide 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 assets for real time synchronization After you configure the Customer 360 URLs in the Cloud Application Integration assets, publish them.
Note: To avoid any caching issues, ensure that you use the incognito mode of your browser while working with the Cloud Application Integration assets.
1 In Application Integration, click Explore > Customer360 > Salesforce Extension .2 To publish an asset, select the asset to publish, expand the Actions menu, and select 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, specify Salesforce outbound messages, and create the Salesforce flows for each process as the workflow action.
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 opens.
5 Click New Outbound Message .The New Outbound Message page opens.
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
- infac360sf_proc_salesforce_contact_person_inbound_rt - infac360sf_proc_salesforce_contact_contactrel_inbound_rt
7 Click Next .The Configure Outbound Message page appears.
8 Configure an outbound message for the Salesforce objects.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 Expand the Actions menu, and select Properties Detail . c Copy the Salesforce Outbound Message 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(), RecordType.DeveloperName = 'Business_Account', Customer360_Id__c='' ), AND( NOT ISNEW(), RecordType.DeveloperName = 'Business_Account', NOT ISCHANGED(Customer360_Sync_Date__c), NOT ISCHANGED(Customer360_Id__c) ) )
infac360sf_proc_salesforce_personaccount_person_inbound_rt
OR( AND( ISNEW(), RecordType.DeveloperName = 'PersonAccount', Customer360_Id__c='' ), AND( NOT ISNEW(), RecordType.DeveloperName = 'PersonAccount', NOT ISCHANGED(Customer360_Id__c), NOT ISCHANGED(Customer360_Sync_Date__c) ) )
infac360sf_proc_salesforce_contact_person_inbound_rt
OR( AND( ISNEW(), Customer360_Id__c='' ), AND( NOT ISNEW(), NOT ISCHANGED(Customer360_Sync_Date__c), NOT ISCHANGED(Customer360_Id__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 After you create Salesforce flows, test the integration between Salesforce and Customer 360.
To test the integration between Salesforce and Customer 360, you can create or update data in Salesforce. If the integration is successful, the Customer 360 data gets updated.