Search Results :
×Salesforce is a popular CRM (Customer Relationship Management) and cloud-based IT application provider which has solutions in various sectors like marketing, analytics, and customer service. Alongside its suite of applications, Salesforce also has its own Community Portal for its users. With its wide range of services and applications, Salesforce becomes a partaker in several use cases across several domains such as CRM, customer service & management, etc. - for direct consumers using simple CMSs like WordPress, to large enterprises as well. Consider the following use case with WordPress, for example where you want to sync Salesforce objects to your WordPress site.
You have a WordPress site wherein your users are created. Salesforce provides some information about these Users like Account Name and “Account Number”. When the user is registered on the WordPress site the user information should be synced on Salesforce where the paid members will be able to login into Salesforce through their Salesforce Community Portal which would allow them to make changes in their Salesforce profile which will be reflected back on WordPress. To access their Salesforce profile the users will receive an email regarding their Password (either Password itself or Password reset link).
Note: You will require the Premium version of both the plugins to implement the Salesforce Sync solution. To test the basic functionality of the plugins, you can download their free versions from the links given below.
If you want the premium version of the plugins or have any questions related to your use-case you can contact us at salesforcesupport@xecurify.com.
Login with WordPress users to any application. SAML SSO or WSFED SSO into Tableau, Zoom, Moodle LMS, etc using WP users. [24×7 SUPPORT]
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.
This use-case can be solved using Login using WordPress Users plugin, Object Data Sync for Salesforce plugin, and Apex triggers.
WordPress as IDP plugin will be installed in WordPress this enables SSO from WordPress as IDP [ Identity Provider ] and Salesforce as SP [ Service Provider ]. We will enable JIT (Just in Time provisioning) in Salesforce this will allow us to create new community portal users in Salesforce and existing users will be logged into their account.
However, to allow JIT, WordPress as IDP plugin needs to send a few required attributes in SAML assertion. The following points decide if a user needs to be created or if it already exists.
Federation ID is matched with the NameID in the SAML response. This will decide if a user object exists in Salesforce or not. If not it will try to create a user with the attributes received in the SAML response.
If the username in the SAML response matched with any salesforce it will give an error about a duplicate username. The same error can be given when you provide the wrong profile ID for an existing salesforce User.
Source Attribute Name released from WordPress as IDP plugin | Representation of Released attribute in Salesforce | Data validation at Salesforce end |
NameID | Federation ID | is_email |
Contact.Email | Email of Contact object linked to the user object | is_email |
Contact.LastName | LastName of the contact object linked to the user object | string |
Account.AccountNumber | AccountNumber of the account object in the | To be obtained from Salesforce; needs to be populated from the Salesforce data |
Account.Name | Account Name of the account object linked to the user object in salesforce | To be obtained from Salesforce; needs to be populated from the Salesforce data |
User.userName | username in user object | is_email |
User.email | Email in user object | is_email |
To facilitate the syncing of Salesforce objects with WordPress, Apex triggers exist on the Salesforce side, which when triggered, make API calls to WordPress to carry out the synchronization. These Apex triggers are triggered when any changes are made to the attributes of the Salesforce objects. The triggers then call the WordPress APIs which then reflect the same changes to their respective user attributes in the WordPress database. Consider for example, the ‘email’ attribute of the ‘Contact’ Salesforce object. This attribute is linked to the ‘user_email’ attribute in the WordPress database table. When changes are made to the ‘Contact.Email’ object attribute in Salesforce, the Apex triggers call the WordPress APIs which then reflect the same changes in the ‘user_email’ attribute in the WordPress database tables. Thus, with the Object data sync for Salesforce plugin you can configure which object attributes in Salesforce should be mapped to which WordPress attributes, which can enable the synchronization of all the objects and attributes within Salesforce and WordPress.
Contact "Before update" trigger on will be used to sync data from salesforce to WordPress [ This data consists of the [contact’s old email and Contact email ], Also we will change User.email, User.userName, and User.FederationId ensures that User details are matched with WordPress users.
The User logs into the WordPress site using this information, eligible users (Paid Members) will see a link (Link to Salesforce Community Portal).Once a user is created in the WordPress site, an email will be sent to the User regarding their Password (either Password itself or Password reset link).
If the user clicks on this link, the user should be able to access the Salesforce Community Portal. Users will be able to edit their profile in Salesforce and these changes will be reflected in WordPress.
With the Login Using WordPress Users (WP as SAML IDP) plugin, users can authenticate with their WordPress credentials and log into the WordPress site, where only eligible users will be able to then access the Salesforce Communities. The WordPress Object Sync for Salesforce plugin facilitates mapping of the Salesforce objects to the respective objects in WordPress by using Apex triggers on the Salesforce end. This allows for all the mapped objects to sync changes in the data from Salesforce to reflect the same in WordPress.
Get prompt support from our technical experts, accessible around the clock for direct assistance
Get access to our detailed knowledge base, which includes comprehensive guides and instructional videos.
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
Need Help? We are right here!
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
Need Help? We are right here!
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
This privacy statement applies to miniorange websites describing how we handle the personal information. 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. For the privacy statement of our solutions you can refer to the privacy policy.
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 the cookies.
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.