HeySummit Connector for MailPoet
WordPress connector that syncs HeySummit attendees to MailPoet
by HeySummit · github.com/heysummit/heysummit-mailpoet-connector · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/heysummit/heysummit-mailpoet-connector/releases/download/v0.1.0/heysummit-mailpoet-connector.zipThis WordPress plugin exposes the narrow, authenticated REST contract required to sync HeySummit attendees into MailPoet.
What it does
- Lists active MailPoet mailing lists.
- Lists MailPoet custom subscriber fields.
- Creates or updates a subscriber by email.
- Adds subscribers to the selected list while preserving MailPoet's confirmation and welcome-email settings.
- Appends tags without replacing a subscriber's existing tags.
The plugin does not store HeySummit credentials and does not expose general WordPress or MailPoet administration. Requests authenticate through WordPress Application Passwords and require the dedicated heysummit_sync_mailpoet capability. Activation adds a least-privilege HeySummit Connector role for the remote connection and also grants the capability to administrators.
Installation
- Download the latest connector ZIP.
- In WordPress, go to Plugins > Add New Plugin > Upload Plugin and upload the ZIP.
- Activate the connector alongside MailPoet, then follow the connection steps below.
Local development
The repository includes a wp-env configuration that installs the current WordPress release, this plugin, and the current MailPoet release.
npm install
npm run env:start
The local WordPress dashboard is available at http://localhost:8888/wp-admin using the standard wp-env credentials.
Run the dependency-free connector contract tests with PHP 7.4 or later:
php tests/connector-test.php
Build the production ZIP without development files:
npm run build:zip
Connecting HeySummit
- Install and configure MailPoet.
- Install and activate this connector.
- Create a dedicated WordPress user with the HeySummit Connector role.
- Edit that user and create an Application Password for HeySummit.
- In HeySummit, enter the WordPress site URL, connector username, and generated Application Password.
- Select the MailPoet list and optional field mappings or tag.
Application Passwords are revocable and should only be used over HTTPS.
REST contract
All routes use the heysummit-mailpoet/v1 namespace and require an authenticated user with the connector capability:
GET /wp-json/heysummit-mailpoet/v1/connector/statusGET /wp-json/heysummit-mailpoet/v1/connector/listsGET /wp-json/heysummit-mailpoet/v1/connector/fieldsPOST /wp-json/heysummit-mailpoet/v1/connector/subscribers/syncPOST /wp-json/heysummit-mailpoet/v1/connector/subscribers/{id}/tags
License
GPL-2.0-or-later.
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.