Auto-share new WordPress posts to X and LinkedIn via Buffer

Every 15 minutes, find newly published WordPress articles and queue tailored X and LinkedIn posts in Buffer, with a Slack recap for your team.

Agentic Task
WordPressBufferSlackMarketingContent GenerationNotifications & Alerts

Build me an agent workflow that automatically cross-posts any newly published WordPress article to my social channels via Buffer.

Trigger: cron, every 15 minutes.

On each run, do the following:

1. Call WordPress List Posts filtered by status=publish, with a modified-after filter set to the last successful run time (default to one hour ago on the very first run). Use this to find articles that have just gone live or were recently updated.

2. For each candidate post, call Buffer List Posts and check whether the article's canonical URL already appears in any queued, sent, or draft Buffer post across the target channels. If it does, skip the post so we never duplicate a share.

3. For each remaining new post, read the title, excerpt, featured image URL, and canonical link. Then draft platform-tailored teaser copy: a hook-style version for X under 280 characters including the URL, and a longer story-led version for LinkedIn with a clear takeaway, also ending with the URL.

4. Call Buffer Create Post once per target channel (X and LinkedIn by default) using share mode = queue, so Buffer schedules each one at the channel's next queue slot. Attach the featured image when one is present.

5. Once everything is queued, call Slack Send a Message to a configured Slack channel with a short 'Live and queued' summary that lists each article title, which channels it was queued to, the scheduled Buffer time if available, and a link back to view it in Buffer.

Integrations: wordpress, buffer, slack.

Configuration the user should supply: the Slack channel for recaps, the Buffer organization to use, and which Buffer channels to target (default to X and LinkedIn). Persist the last successful run timestamp so subsequent runs only pick up articles published since then.

Additional information

What does this prompt do?
  • Watches your WordPress site for newly published articles, checking every 15 minutes.
  • Drafts a hook-style X post under 280 characters and a longer, story-led LinkedIn post, each ending with the article link.
  • Queues both posts in Buffer so they go out at the optimal times you've already set for each channel.
  • Drops a short 'Live and queued' recap in your marketing Slack channel so the team can see what shipped.
What do I need to use this?
  • A WordPress site you can connect with an application password.
  • A Buffer account with X and LinkedIn channels already connected.
  • A Slack workspace and the channel where you want the recaps posted.
How can I customize it?
  • Change which Slack channel the recap is posted to.
  • Add more Buffer channels (Facebook, Instagram, Threads, Bluesky) by listing them in the prompt.
  • Narrow the filter to a specific WordPress category, author, or tag so only some posts get cross-shared.

Frequently asked questions

Will it re-post articles I update later, or only brand-new ones?
Only brand-new ones. Before queuing anything, we check Buffer for the article's link, so a post that's already been shared won't get duplicated even if you edit it afterwards.
Does it pick the exact time the social posts go out?
No. It adds posts to your Buffer queue, which uses the posting schedule you've already configured per channel. You stay in control of timing.
What if a post doesn't have a featured image?
It still publishes the social posts as text. The Slack recap calls out when an image was missing, so you can add one in WordPress and re-share if you want imagery.
Can I review or rewrite the captions before they go live?
Yes. They land in your Buffer queue, so you can edit, reorder, or approve them in Buffer at any point before they ship.
How do I stop cross-posting to one of the channels?
Just remove that channel from the prompt and re-run the setup. You can add or drop channels at any time without rebuilding the workflow.

Stop manually cross-posting every article you publish.

Connect WordPress, Buffer, and Slack once. Geni checks every 15 minutes and queues platform-tailored posts the moment a new article goes live.