tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

AI agent that turns each new blog post into ready-to-post social copy

Send a new blog post’s title, link and excerpt to a webhook, and an AI Agent drafts a LinkedIn post, an X post and a short teaser, posts them to Slack and keeps a copy in Notion.

Webhook AI Agent Slack Notion

5 steps Setup ~8 min Used on 2.2k sites Marketing Free to import

The AI agent that turns each new blog post into ready-to-post social copy workflow on the FlowMattic canvas, with 5 steps across Webhook, AI Agent, Slack, Notion
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Writing the post is the hard part, yet each article still needs a few lines for every social channel. That small job often waits until the post is old news. This workflow drafts the social copy as soon as you send the post's details, so your team starts from text instead of a blank box.

Your site or publishing tool posts the article's title, url and excerpt to a Webhook URL. FlowMattic passes them to the AI Agent, which is told to write three short posts: one for LinkedIn, one for X and a short teaser. It is told to share and store them with two tools, and chooses when to call each. Slack's Send Channel Message posts the drafts for your team, and Notion's Create Database Item stores a copy with a title and content the agent writes.

After the agent finishes, a second Slack message says the drafts are ready and names the post. Nothing is published to LinkedIn or X. The drafts wait for a person to review and schedule them. The agent sees the excerpt, not the full article, so a good excerpt gives better drafts.

Company blog with a small marketing team

Each new article gets three ready drafts in the content channel, so the person scheduling social posts can edit and queue them in minutes.

Agency publishing for several clients

Drafts for every client post collect in one Notion database, which gives account managers a record of what was proposed for each article.

Newsletter archive posts

When an issue goes live on the web, the teaser draft can be reused to promote it in other places the team posts.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Webhook Capture Webhook Response

    Gives you a URL to call when a post goes live. Send the title, url and excerpt, as in the sample, from your site or publishing tool.

  2. Step 2Action
    AI Agent Execute Agent

    The AI Agent writes a LinkedIn post, an X post and a short teaser from the title, link and excerpt, is told to use its Slack and Notion tools. It is set to GPT-4o from OpenAI as imported.

  3. Step 3Tool
    Slack Send Channel Message

    The agent's tool for posting the drafts. It writes the message itself. Connect Slack and confirm with a test run that the drafts reach your content channel.

  4. Step 4Tool
    Notion Create Database Item

    The agent's tool for archiving the drafts. It creates a Notion database item and fills the title and content. Connect Notion and run a test to check where the item appears.

  5. Step 5Action
    Slack Send Channel Message

    After the agent, posts Social drafts ready for, followed by the post title, so the content lead knows there is something to review.

What you need

  • FlowMatticCore
  • AI ProviderAccount
  • Slack AccountAccount
  • Notion AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Add your brand voice and any hashtags you always use to the agent's instructions. The drafts then need fewer edits before scheduling.
  • If your publishing tool can send the full article text, add it to the webhook and the agent's input. Drafts based on the whole post are usually more specific.
  • Fold the two Slack messages into one if the channel gets noisy. Remove the final step and ask the agent to mention the post title in its own message.

Questions about this workflow

Does this post to LinkedIn or X for me?

No. The drafts go to Slack and Notion only. Someone on your team copies them into the social tools or a scheduler.

How does the workflow know a post was published?

It waits for a call to its webhook URL. Set up your site or publishing tool to send the post details there when an article goes live.

Can I get drafts for other platforms?

Yes. Edit the agent's instructions to name the platforms and lengths you want, then run a test with a real post.

What has to be connected before the first post?

An AI provider account for the agent, a Slack workspace for the drafts and the alert, and a Notion account for the archive.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It contains a lot of integrations and custom actions that allow you to easily integrate your WordPress with many 3rd party applications and automate your tasks

Tech G.

It is self hosted and wordpress based. So you can effectively run this on any shared hosting with unlimited tasks. And new integrations are constantly being added. It's crazy how valuable this tool is.