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

By General Input

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

Integrations

  • WordPress
  • Buffer
  • Slack

Type

Agentic Task

Categories

  • Marketing

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.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionKajabi customer support console for member access fixes