Draft newsletters from new WordPress posts in MailerLite
Every weekday morning, turn each fresh WordPress post into a ready-to-review MailerLite draft with a Slack ping so your team can approve and send in one click.
Build me an agent workflow that runs every weekday at 8am in my timezone and turns any new WordPress post into a draft MailerLite newsletter campaign, then pings my marketing team in Slack to review and approve. Trigger is a cron schedule, weekdays at 8am.
Step 1: Pull new posts from WordPress. Use the WordPress 'List Posts' action, filtered to status=publish and to posts dated after the last successful run of this workflow. If there are no new posts, stop the run silently. Do not create a MailerLite draft and do not post to Slack. The workflow only speaks up when there is something new.
Step 2: For each new WordPress post, draft newsletter copy in the site's voice. Write a subject line under 60 characters that matches the post's real value prop with no clickbait. Write preview text under 100 characters. Write a short HTML teaser body (a couple of short paragraphs, not the full post) that summarizes what the reader will learn and links to the full article on the WordPress site. Do not paste the entire post into the email, write a real teaser that drives clicks.
Step 3: Find the target MailerLite group. Call MailerLite 'List All Groups' once per run and find the group whose name matches 'Newsletter' (or a group name I specify at setup time). Grab its group id.
Step 4: Create the draft in MailerLite. Call MailerLite 'Create a Campaign' as a regular campaign in draft status, addressed to the group from Step 3, with the drafted subject line, preview text, and HTML body from Step 2. Always leave the campaign as a draft. Do not call 'Schedule a Campaign' and do not send. This guardrail is critical: the workflow must never dispatch a campaign, only prepare it for human approval.
Step 5: Post a review ping in Slack. Use Slack Bot 'Send a Message' to post one message per drafted campaign in my marketing review channel. The message should include the WordPress post title, the drafted subject line, the drafted preview text, and a link to the MailerLite draft so a teammate can open it, tweak if needed, and hit send in one click. Only post to Slack on runs where at least one new post was drafted.
At setup time, let me configure: my timezone, the MailerLite group name to send drafts to (default 'Newsletter'), and the Slack channel to ping for review.
Additional information
What does this prompt do?
- Checks your WordPress site each weekday morning for posts published since the last run.
- For every new post, writes a subject line, preview text, and a short teaser in your site's voice that links back to the full article.
- Saves a ready-to-review draft campaign in MailerLite, addressed to the subscriber group you pick (like 'Newsletter').
- Posts a Slack ping in your marketing channel with the drafted copy and a link to the MailerLite draft, so a human can approve and hit send in one click.
- Stays silent on days when nothing new was published. No draft, no Slack noise.
What do I need to use this?
- A WordPress site you can create an Application Password for.
- A MailerLite account with a subscriber group you send newsletters to.
- A Slack workspace and the channel where your marketing team reviews campaign drafts.
How can I customize it?
- Change the schedule if weekday 8am doesn't match your publishing rhythm. Monday-only, three times a week, or a different hour all work.
- Point it at a different MailerLite group by name, like 'Weekly Digest' or 'Product Updates', instead of the default 'Newsletter' group.
- Route the Slack review ping to a different channel, or tag specific reviewers in the message.
- Tune the tone rules in the prompt, for example asking for shorter subject lines or a more formal teaser style.
Frequently asked questions
Will this ever send the newsletter automatically?
What happens on days when I don't publish anything?
How does it decide which MailerLite group to send the draft to?
Does the newsletter contain my full blog post?
What if I publish more than one post in a day?
Related templates
Stop copy-pasting blog posts into your newsletter tool.
Connect WordPress, MailerLite, and Slack once. Every weekday morning a ready-to-review newsletter draft is waiting for a one-click approval.