• Resolved AG

    (@amandagarceau)


    Hi there –

    Great plugin! I understand that currently the plugin does not allow for real-time syncing from Salesforce to WordPress. I’m wondering, based on your experience, if it seems possible to extend the plugin to listen for a trigger, or other action, from Salesforce to then perform the sync?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    @amandagarceau hm, I do think that would be possible. I’m far from an expert in Salesforce, but maybe you could have a trigger in Salesforce run calls to the WordPress REST API URL?

    For example, one of the plugin’s REST endpoints is a POST endpoint:

    https://domain.com/wp-json/object-sync-for-salesforce/pull/

    It accepts two parameters: salesforce_object_type and salesforce_id. So you could have Salesforce call that URL with those values, and it would run according to the plugin’s existing fieldmaps.

    I’m not sure if that’s the kind of thing you’re thinking about, or how that would work inside Salesforce. But if Salesforce is able to make those kind of calls, it would work.

Viewing 1 replies (of 1 total)

The topic ‘Real-time sync from Salesforce to WordPress?’ is closed to new replies.