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
listMedia
List image attachments from the media library, returning the most recent single image to use as the featured media.
2
createPostWithFeatured
createPost
Create a published post and set its featured_media to the image attachment found in the media library.
3
verifyPost
getPost
Read the post back by id to confirm it was created with the featured image assigned.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for arazzo workflows
4 MCP tools reach this
find_arazzoBrowse and filter every workflow in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/wordpress-attach-featured-media-to-post-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.