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.

Agentic Task
MailerLiteWordPressSlack BotMarketingContent GenerationEmail Automation
PromptCreate

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.

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.

FAQs

Will this ever send the newsletter automatically?
No. It always stops at a draft in MailerLite. Someone on your team has to review the copy, open the draft, and hit send. The workflow is explicitly built to never schedule or dispatch a campaign.
What happens on days when I don't publish anything?
Nothing. The workflow checks WordPress, sees no new posts, and quietly stops. You won't get a Slack ping unless there's actually something to review.
How does it decide which MailerLite group to send the draft to?
By default it looks for a subscriber group named 'Newsletter'. You can tell it a different group name during setup, for example 'Weekly Digest' or 'Blog Subscribers'.
Does the newsletter contain my full blog post?
No. It writes a short teaser in your site's voice that summarizes the post and links back to the full article. The goal is to drive click-throughs to your site, not to duplicate the content in email.
What if I publish more than one post in a day?
You get one draft campaign per post and one Slack ping per draft. Each post gets its own subject line and teaser so nothing gets buried.

Related templates

Build a credential rotation checklist when someone leaves

When someone leaves, we check which shared passwords they used in their final months and post a ranked rotation list to your security channel.

1Password
Rippling
Slack Bot
+1
Agentic Task
Weekly Amazon S3 bucket security audit posted to Slack

Every Monday, check every S3 bucket for public exposure, missing encryption and weak backup settings, then get the risks ranked in Slack.

Amazon S3
Slack Bot
Google Sheets
Agentic Task
Log Agorapulse social conversations to HubSpot contacts

Twice every weekday, the conversations from your social inbox land on the right HubSpot contact timelines, with a Slack recap for sales.

Agorapulse
HubSpot
Slack Bot
Agentic Task
Clean up HubSpot contacts from your Amazon SES suppression list

Every morning, find the addresses that hard bounced or filed a spam complaint, update the matching HubSpot contacts, and post a short Slack recap.

Amazon SES
HubSpot
Slack Bot
Agentic Task
Draft polite follow-ups for emails that never got a reply

Every weekday at 4pm, spot the threads that went quiet, stage a ready-to-send nudge in your mailbox, and get a ranked Slack recap.

Aurinko
Google Sheets
Slack Bot
Agentic Task
Replay failed SQS messages when a bug fix is merged

When you merge a fix in GitHub, this agent checks the matching dead-letter queue, replays the failed messages, and reports back on the pull request and in Slack.

Amazon SQS
GitHub
Slack Bot
Agentic Task

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.