# Turn each new WordPress post into a 3-format social image pack

> Every weekday morning, turn yesterday's blog posts into square, landscape, and vertical social images and drop them in Slack ready to post.

- Workflow type: agent
- Services: WordPress, Ideogram, Slack Bot
- Categories: Marketing
- Published: 2026-08-14

## What it does

- Checks your WordPress site each weekday morning for anything published in the last 24 hours.
- Writes a short hook line from each post's title and excerpt, then renders it as typography inside a custom image.
- Produces three sizes of that image: a square master, a landscape crop for LinkedIn and X, and a vertical crop for Stories and Reels.
- Posts all three into your marketing Slack channel with the article title, its link, and a suggested caption for each format.

## What you'll need

- A WordPress site running on HTTPS where you can create an application password from your user profile.
- An Ideogram account with funds on its API credit balance. This is billed separately from an Ideogram web subscription, so an active web plan on its own is not enough.
- A Slack workspace and a channel for the images to land in, such as #marketing.

## Prompt

Every weekday at 8am, find the posts published on our WordPress site in the last 24 hours and turn each one into a ready-to-post social image pack. Use List Posts in WordPress, filtered to published posts inside that window. If nothing was published, stop without posting anything to Slack.

For each new post, read the title and the excerpt, then write one short hook line of about six words. This hook is the text that gets rendered as typography inside the image, so make it punchy and legible rather than a full sentence. Remember that WordPress returns title and excerpt as rendered HTML, so strip any markup before using them.

Generate the master image with Generate (Ideogram 4.0). Set the hook line as the in-image text and draw the visual concept from what the post is actually about. The master must be square, so request a 1:1 aspect ratio. Resolution and aspect ratio are mutually exclusive on generate, so set only one of the two, never both.

Then run Reframe (Ideogram 3.0) twice against that square master: once to a 16:9 landscape crop for LinkedIn and X, and once to a 9:16 vertical crop for Stories and Reels. Reframe only accepts a square input image, which is exactly why the master has to be generated at 1:1 before any reframing happens. Always reframe from the original square master, never from an already reframed crop.

Ideogram image URLs expire a short time after generation, so download the image bytes for all three sizes as soon as they are produced. Send the downloaded files to Slack as uploads. Do not paste Ideogram links into the message, because they will be dead by the time anyone clicks them.

Post all three images into our #marketing Slack channel using Upload a File on Slack Bot. Include the post title, a link to the post, and a suggested caption written for each format: one for the square, one for the landscape version, and one for the vertical version. Keep each post's three images together in the channel so the team can tell at a glance which pack belongs to which article.

Delivery stops at Slack. Do not attempt to upload the artwork back to WordPress or set it as the post's featured image.

## How to customize

- Change the timing and the lookback window. Weekday mornings covering the last 24 hours is the default, but a Monday run covering the last seven days works just as well.
- Swap the destination channel, or route posts in different categories to different channels and teams.
- Change the crops. Landscape and vertical are the defaults for feeds and Stories, but you can add or replace sizes to match wherever you actually publish.
- Tune the hook line for length and house style if six words feels too short or too punchy for your brand.

## FAQ

### Do I need a paid Ideogram plan for this?

You need credit on your Ideogram API balance, which is topped up separately from an Ideogram web subscription. If you only have a web plan, image generation will fail until you add funds to the API balance.

### Will this work with a self-hosted WordPress site?

Yes. It works with self-hosted sites and with most managed WordPress hosts. The only real requirements are that your site runs on HTTPS and that you can create an application password from your WordPress profile page.

### What happens if we publish more than one post in a day?

Each post gets its own pack. Every article published in the window is turned into its own set of three images, with its own hook line and captions, and posted separately so nothing gets mixed up.

### What if we did not publish anything that day?

Nothing happens. If no posts went live in the last 24 hours, the workflow finishes quietly without posting to Slack, so your channel stays clean on slow weeks.

### Can it post to LinkedIn or Instagram directly instead of Slack?

This version stops at Slack on purpose, so a person can review the artwork and captions before anything goes public. If you would rather publish automatically, that can be added as a follow-up step.

### Why three images instead of just one?

Every placement crops differently. A square image gets cut off in a Stories frame and looks small in a LinkedIn feed. Generating the square first and then extending it into landscape and vertical means the text and the subject stay properly framed everywhere.

Use this prompt in General Input: https://www.generalinput.com/prompts/turn-each-new-wordpress-post-into-a-3-format-social-image-pack