Search Results :

×

Sync Data from Salesforce to WordPress (WP) using Salesforce Workflow Automation (Real-time sync)


Salesforce Real-time Data Sync to WordPress can be achieved using our Object Data Sync for Salesforce plugin. Our plugin enables your WordPress site to receive data from Salesforce in real-time and stores it in the appropriate WordPress objects. We make use of the Salesforce Flows automation feature to send data to your WordPress site as soon as it is created or updated in Salesforce. Salesforce Flows also allow you to add certain criterias/conditions to be met before the data is sent over, this enables data filtering and you can make sure that only the required data is sent to your WordPress site. You can accurately maintain the data life stages by using real-time sync to keep the data in constant sync..

Here we will undergo a manual to configure Salesforce to WordPress real time Object Sync.

Pre-requisites : Download And Installation

To configure WordPress Salesforce Sync Integration with WordPress, you will need to install the Object Data Sync for Salesforce plugin:

WordPress Salesforce Object Sync | Sync Salesforce Objects bidirectionally with WordPress. Enable real-time sync, scheduled sync, Salesforce Sync with Workflows Automation, sync leads from WordPress to Salesforce, Salesforce ACF/CPT UI integrations, and more.

WordPress Salesforce Object Sync along with seamless integrations with other environments and applications

 Salesforce to WP real time sync | Salesforce Integrations

Integrate WordPress, Drupal, Joomla, and any other third party app with Salesforce, for seamless SSO and Object / data synchronization.

1. Configure Workflow Integration in WordPress

  • To connect the plugin to Salesforce you can follow the first step from the given manual.
  • Once done please follow the steps below for configuring the Salesforce Workflow Integration in WordPress.
  • Navigate to the Object Mapping tab of the plugin and click on Add Object Mapping.
  •  Salesforce to WP real time sync | WP object Salesforce Sync- Object Mapping
  • Enter the following values in the newly opened Object Mapping tab of the Object Data Sync for Salesforce plugin
  • Salesforce Object Select a Salesforce object
    NOTE: This is the salesforce object with you want to sync data.
    WordPress Object Select a WordPress Object
    Sync from salesforce to WordPress checkbox Enable sync from salesforce to WP
     Salesforce to WP real time sync | Mapping Configuration
  • Create your field mapping in the section titled Map WordPress fields to Salesforce fields.

NOTE: Make sure to map all the fields that you want to sync from Salesforce. Click on Save Object Mapping

     Salesforce to WP real time sync | Object Attribute Mapping
  • After configuring the Salesforce to WordPress sync, under the Object Mapping tab scroll down to Real Time Salesforce to WordPress Sync and copy the outbound url.
     Salesforce to WP real time sync |  Redirect URI for Outbound Message

2. Configure Flows in Salesforce

  • Go to Salesforce login page https://login.salesforce.com and login as an Administrator.
  • You will be represented with the home screen of Salesforce.
  •  Salesforce to WP real time sync |  Home Screen
  • Under the PLATFORM TOOLS navigate to the Process Automation, under that you will find Outbound Messages.
  •  Salesforce to WP real time sync |  Process Automation Outbound Messages
  • In the window opened, click on the New Outbound Message button to configure a new outbound message.
  •  Salesforce to WP real time sync | New Outbound Message
  • Now, for Step 1 Select Object, select any Salesforce object you want to sync the records of
  •  Salesforce to WP real time sync | Outbound message salesforce object
    Name Enter any name of your choice.
    Endpoint URL Please paste the endpoint URL copied from the plugin’s Object Mapping Tab
    Accounts field to send Select the fields you want to sync with WordPress

    Note: In case, your WordPress site is protected behind Form-Based Basic Authentication, you would need to update the Outbound Endpoint URL configured in Salesforce as per the given format : https://form_based_auth_username:form_based_auth_password@rest_of_outbound_url_as_provided_in_WorkFlow_Integration_tab.
    For example: https://admin:abc2023@trabulant.wpengine.com/?method=soap&action=store&mappinglabel=Salesforce+Events&accesskey=1652677f44ed1d96

  • Now, for Step 2 Configure Outbound Message, in the Name, enter any name of your choice. By default, the Unique Name would be set the same as the Name. Paste the Redirect URI for outbound message generated from the plugin in the field corresponding to Endpoint URL.Select the custom object fields you want to sync with WordPress from the available fields and add them. Click on Save. The Outbound message is now created.
  •  Salesforce to WP real time sync | Outbound message configuration
  • From the left navigation section , in the Quick Find , search for Flow. Click on the option Flows under the heading Process Automation in the left navigation section.In the window opened, Click on the New Flow option.
  •  Salesforce to WP real time sync | Flows in Process Automation
  • In the new page, a dialog box named New Flow will be opened, select Start From Scratch option and click on Next.
  •  Salesforce to WP real time sync | Start From Scratch
  • From the new modal, select recommended flow type as Record-Triggered Flow and click on Create button.
  •  Salesforce to WP real time sync | Record-Triggered Flow
  • In the Configure Start dialog, select any Salesforce object whose data you want to sync to WordPress (in the below image, we have chosen Lead).
  •  Salesforce to WP real time sync | Select Salesforce Object
  • Set the Configure Trigger condition to A record is created or updated.
  •  Salesforce to WP real time sync | A record is created or updated
  • In the Optimize the Flows for section, select Actions and Related Records option.
  •  Salesforce to WP real time sync | Add action to the flow
  • Click on the (+) plus icon to choose the action, as shown in the below image.
  •  Salesforce to WP real time sync | Start and End Record Flow
  • From the dropdown, select the option as Action.
  •  Salesforce to WP real time sync | Action
  • In the Search Actions input field, search for the outbound message that you just created for the sync to perform. Here, in this example,we have chosen an already created outbound message named Lead SF WP.
  •  Salesforce to WP real time sync | Select Action
  • Assign value to the action in the Label field and click on the Save button. (The API Name will be populated by default same as the Label name given by you.)
  •  Salesforce to WP real time sync | Add Lable Name
  • Enter the Flow Label of your choice. Also, the Flow API Name will be set by default same as the Flow Label provided. Click on Save button.
  •  Salesforce to WP real time sync | Give Flow Lable a name
  • Click on the Activate button to activate the flow you just created.
  •  Salesforce to WP real time sync | Activating the saved flow
  • The flow has been created.
  •  Salesforce to WP real time sync | Flow Activated
  • You can trigger the sync from Salesforce to WordPress by creating or updating a record from the chosen Salesforce object.

The WordPress Object Data Sync for Salesforce plugin facilitates real-time sync from Salesforce to WordPress, using Flow builder automation. By following this guide, you have successfully configured the Flow builder for your Salesforce-WP sync purposes, and now if you create or edit any object satisfying the rule then the configured fields will get synced with WordPress.


Additional Resources


If you are looking for anything which you cannot find, please drop us an email on salesforcesupport@xecurify.com

We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at

 +1 978 658 9387 (US) | +91 97178 45846 (India)    salesforcesupport@xecurify.com


Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com