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.
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.
What does this prompt do?
- 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 do I need to use this?
- 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.
How can I customize it?
- 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.
FAQs
Do I need a paid Ideogram plan for this?
Will this work with a self-hosted WordPress site?
What happens if we publish more than one post in a day?
What if we did not publish anything that day?
Can it post to LinkedIn or Instagram directly instead of Slack?
Why three images instead of just one?
Related templates
See how your brand's news coverage and sentiment stack up against four competitors, then let an assistant write the weekly report for you.
One screen showing every social post waiting on approval, sorted by deadline, so reviewers can approve or reject without leaving the page.
Every Monday, find the past champions and closed-won contacts who changed jobs, update Attio, and get the moves worth chasing in Slack.
Staff submit what happened, your social manager edits the copy, picks the accounts and puts it on the calendar without a single spreadsheet.
Open one board each morning, see which voice calls went badly, replay the exact moment the caller got frustrated, and file the fix.
A personal queue of every overdue Guru card, sorted by how late it is, with one-click verify, reassign, comment, and an agent that drafts the refresh for you.
Stop resizing the same image three times.
Let every new blog post land in Slack as a finished set of social images, already sized for every channel you post to.