I’d like to build a plugin on a Wordpress site that will aggregate some upcoming events (Events is a custom CPT on the site) combine them into an email message, then forward that message to Mautic via API to send to users in a segment.
So, my idea is that the Wordpress site would query for “Upcoming Events” (events that start between Friday and next Thursday, based on post_meta), then consolidate that into a message to send.
Then, forward that to Mautic, who would then send the Email (maybe SMS) to all of the contacts in the segment.
Has anybody built something like this? Any pointers? Does anybody have any noobie-friendly documentation on using the Mautic API to send compose emails/SMS?