Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Would be great to have the ability to schedule a email campaign from the Campaign dashboard.
Comments
Comment #2
apmsooner CreditAttribution: apmsooner commentedLooks like the library doesn't include the function to schedule, can you consider adding this to the library at least assuming it looks good?
Here are schedule and unschedule public functions that should be added to the library file MailchimpCampaigns.php
Comment #3
apmsooner CreditAttribution: apmsooner commentedThe master branch of the library now includes functions to schedule and unschedule campaigns and also a function to check if campaign is ready to send. While I don't use the campaign functionality of the module, I have created a custom node type to serve as my campaign. In a custom module, I've created actions that attach to my view of campaigns as depicted here with example of how I'm making this work if anyone is interested in adapting to the mailchimp campaigns submodule as a patch.
Campaign history is normally stored in cache via the mailchimp module i believe so not sure the maintainers desire to implement similar functionality. I store all my campaign data in a custom table and it gets updated via mailchimp webhooks when the campaign is sent. The webhooks defined in the module would also need to be updated to allow campaign updates to get triggered. Anyhow... here's an example:
Comment #4
samuel.mortensonWe’re in maintenance-mode for the Drupal 7 releases of Mailchimp, so only bug fixes can be committed going forward. Any new features should be developed for the Drupal 8 releases of Mailchimp. Thanks!