Webhooks serve as a communication method between your WordPress site and external systems, triggered by specific events within the Newsletter plugin. Here’s how these events are communicated:
- Subscription Event: When a user subscribes to your newsletter, the Newsletter plugin generates an HTTP/HTTPS call (webhook) to an external system. This call notifies the external system about the new subscription, allowing it to perform any desired actions or integrations based on this event.
- Cancellation Event: Similarly, when a subscriber cancels their subscription, the Newsletter plugin triggers a webhook to inform the external system about this event. This facilitates actions or updates in the external system’s database or functionalities related to the cancelled subscription.
- Newsletter Sent Event: Upon completion of sending a newsletter, the Newsletter plugin generates a webhook. This signal informs the external system that a newsletter has been successfully dispatched, allowing the external system to track the completion of newsletter campaigns or perform any necessary follow-up actions.
These webhooks enable seamless communication and synchronization between your WordPress blog’s Newsletter plugin and external systems, ensuring that these systems stay updated and perform relevant actions based on user subscriptions, cancellations, and newsletter dispatches.