Salesforce provides an efficient mechanism to store various kinds of data using custom objects by creating different fields for them as per your requirements, but businesses need this data to be displayed on their front-facing WordPress sites. To achieve this, data needs to be synced between Salesforce objects and WordPress custom posts.
The Object Data Sync for Salesforce plugin allows you to sync data between custom/standard Salesforce objects and custom/standard WordPress posts and allows you to schedule these sync with the time interval of your choice this makes sure that all the data presented in WordPress is always in sync with the Salesforce data
1. You have a WordPres site and you have created the Custom post type and Custom fields for the post using CPT UI and ACF plugin respectively.
2. You want to sync between Custom post types and Custom objects in Salesforce.
Data from the Custom Salesforce Objects should be synced to WordPress in the form of the Custom Post Type.
Ability to sync multiple Custom Salesforce objects to Custom Post types and Custom Post fields.
Pre-requisites : Download And Installation
Note: You will need the Premium version of the plugin to implement the below solution. You can download the free version of the plugin using the link mentioned below
Configuring CPT UI and ACF Integration with Salesforce CRM
First using the CPT UI plugin we will create a Custom Post Type.
Navigate to the CPT UI plugin and in the Add new Post Type tab fill the required fields for the post type and click Add Post Type.
Now as we have created the custom post type we will use the ACF plugin to add custom fields to the post type.
Navigate to the ACF plugin, in the Field Groups tab and click on Add new.
On the next page add all the fields you want in the field group.
To apply this field group to the custom post type you created, use the dropdowns in the Location section on the same page.
Now, Navigate to your WordPress site and click on test_custom (the custom post type created using CPT UI in earlier steps) on the left panel and add a dummy post of that custom post type with all the fields populated so that the plugin can read its custom field list.
Setting up the Salesforce connection
To connect the plugin to Salesforce you can follow the first 2 steps in this guide.
Once done please follow the steps below to configure the Scheduled pull from Salesforce.
Configuring the field mapping
Navigate to the Object Mapping tab of the plugin.
In the WordPress Object please select the required post type.
For the Scheduled pull to work make sure to enable the Sync From Salesforce to WordPress toggle as shown below.
Under the Map WordPress fields to Salesforce fields section, we will be mapping the Salesforce fields with WordPress object fields.
The required fields from Salesforce are already selected and new fields can be added using Add Salesforce Field button.
IMPORTANT NOTE: ACF creates 2 fields for each custom field that you create, for example, if you create a field titled checkbox ACF will create 2 fields titled checkbox and _checkbox. Make sure to map the field without "_" in the beginning i.e the checkbox field.
Once you configure the field mapping scroll down and click the Save Object Mapping button.
The mapping will look as similar to the picture below:
Configuring Scheduled Automation Sync
Note: The following steps are for configuring Scheduled Sync, If you want to configure Real-time sync you can follow this guide.
Once you have configured All the field mapping we can now go ahead and set up the scheduled pull.
Navigate to the Manage Application tab.
Scroll down to the Scheduled Sync section.
Enable the toggle and select the Sync Duration according to your need.
Click on the Save Configuration button.
Note: When you click on the save button for the first time then an initial sync will take place. Afterward, the sync will run periodically as per the duration selected by you.
If you want to stop the scheduled sync you can simply disable the Toggle and click save again.
The WordPress Object Sync for Salesforce plugin facilitates mapping of the Salesforce objects to the respective objects in WordPress. This allows for all the mapped objects to sync changes in the data from Salesforce to reflect the same in WordPress.
If you dont hear from us within 24 hours, please feel free to send a follow up email to firstname.lastname@example.org
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.