We have a custom post type Events on our WordPress website. Every event has a title, description and date.
From our CRM-system, we can create a JSON feed where we list all Events. Every event in the feed will have a unique ID, title, description and date.
Now we want to set up a sync from the CRM > WordPress system. In general:
- Automatically sync every x hours the data from CRM to WordPress
- If an Event does not yet exist in WordPress, but exists in CRM, then create the Event in WordPress
- If an Event exists WordPress and in CRM, then sync the Event data
- If an Event exists in WordPress, but not in the JSON, then delete the event in WordPress
Thank you.