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

Generate a social card for every new WordPress post

Publishing a WordPress post renders a share image from your Image Builder template and posts the post title with the image link to a Slack channel, ready for your social team.

WordPress Image Builder Slack

3 steps Setup ~5 min Used on 785 sites Marketing Free to import

The Generate a social card for every new WordPress post workflow on the FlowMattic canvas, with 3 steps across WordPress, Image Builder, Slack
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Shared links with a matching image stand out in feeds, and a template keeps every card on brand. The slow part is making a new one each time you publish. This workflow produces the card for you and drops it where your team will see it.

The WordPress trigger runs once per post, at the moment it is first published. Image Builder takes your saved template, fills in the post details you map, renders it through Cloudflare Browser Rendering and saves the PNG to the Media Library as card- plus the post ID. The Slack step then posts the post title and the image URL to your chosen channel.

Set up two things after import. Select your own Image Builder template, because the shipped ID 8 belongs to the author's site. And add Cloudflare Browser Rendering credentials in FlowMattic Settings, which Image Builder needs to render. The image stays in your Media Library, so you can also use it as the featured image.

A content team that shares every article

Writers publish in WordPress, and the person running social picks up each card and link from Slack without opening a design tool.

A podcast's episode posts

Each new episode post gets a card with the episode title in the show's layout, ready to share when the episode goes out.

Agency client blogs

An agency running a client's blog uses the client's branded template, so every new post has a matching share image waiting in the client channel.

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
    WordPress New Post

    Fires a single time for each post, when it first goes live. Updating a published post doesn't run it again. The post ID, title and other details pass to Image Builder.

  2. Step 2Action
    Image Builder Generate Image from Template

    Renders a PNG from your saved Image Builder template with the post details mapped in, and saves it to the Media Library as card- plus the post ID. Select your own template in place of ID 8.

  3. Step 3Action
    Slack Send Channel Message

    Posts a message in the Slack channel you pick with the post title and the card's URL, so the team can download or share the image.

What you need

  • FlowMatticCore
  • Slack 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.

  • Map the post's featured image or category into the Image Builder template data, after a test publish shows the exact field names.
  • If custom post types should not get cards, set the trigger's post type setting to post.
  • Send the card to one person instead of a channel by swapping the Slack step for Send Direct Message.

Questions about this workflow

What does Image Builder need to render the social card?

A saved Image template and Cloudflare Browser Rendering credentials in FlowMattic Settings, since Image Builder renders the template's HTML through that service.

Will scheduled WordPress posts get a card?

Yes, when they go live. The trigger fires when a post first moves to published, which includes a scheduled post reaching its publish time.

Where is the generated image stored?

In your WordPress Media Library, named card- plus the post ID. The Slack message links to that file.

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.