WordPress · Arazzo Workflow
WordPress Attach Featured Media to Post
Version 1.0.0
Find an image in the media library and publish a post that features it.
Provider
Workflows
attach-featured-media-to-post
Select an existing image attachment and feature it on a new post.
Lists image media items, branches on whether any exist, and when one is found creates a published post whose featured_media is set to that attachment id, then reads the post back to verify.
1
findImage
List image attachments from the media library, returning the most recent single image to use as the featured media.
2
createPostWithFeatured
Create a published post and set its featured_media to the image attachment found in the media library.
3
verifyPost
Read the post back by id to confirm it was created with the featured image assigned.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.