Listmonk Integration
Listmonk integration
The library does not itself do anything, but installing it also causes three plugins to be installed. Uninstalling it causes those plugins to be removed. The plugins provide integration between Membership Pro and Listmonk, an excellent modern mailing list manager. The plugins are:
-
Membership Pro - ListMonk This plugin is activated by triggers in Membership Pro. It adds an extra tab when you are managing a Subscription Plan in Membership Pro. You will be shown options to add or remove group memberships when a plan is activated or expires. In addition, when a user activates a plan or a plan expires, Listmonk mailing lists will be updated according to the options set for the plan
-
User - Listmonk This plugin simply removes users from Listmonk if they are deleted in Remository.
-
Restful Listmonk Plugin The restful plugin allows the Membership Pro subscribers to be synchronised with Listmonk as if they had just activated their subscriptions. The plans should be configured first. A simple bash script will activate the sync:
curl -X POST -H "Authorization: Basic $(echo -n 'username:password' | base64)" -H "Content-Type: application/json" https://yourdomain.com/listmonk/sync
Prerequisites
To function, the plugins require the Restful system plugin, available from https://remository.com/downloads.
Configuration
For use of the Listmonk API, an API user must be created. In the Listmonk admin interface, go to the Users option and create a new user. Choose the option of an API user and give it admin capability. You will be shown (once only!) the key for the user. In the plugins, you need to enter the name of the API user, the key, and the URL - normally something like https://listmonk.example.com/api. Typically you would not want double opt in since people have subscribed, but the option is there. Publish all the plugins.
Support
This may sound a bit tricky, but is actually quite easy if done step by step. If you have problems, please raise a support ticket at https://remository.com