Publish posts and events to WordPress and pull them back
The WordPress step connects a workflow to your WordPress site. You can publish posts and events, or pull existing posts and events back into the workflow for analysis and repurposing. Four actions cover both directions. Requires a connected WordPress integration.
Create a post on your WordPress site. The title and content are required, and the content is the post body as HTML. New posts default to draft so you can review before they go live.
Set the title and content (both accept upstream references like {{generate-step.output}}). Choose a status: Draft keeps the post unpublished so you can review it, and Publish makes it live immediately. New posts default to Draft. You can also set an excerpt, URL slug, category and tag IDs, and a featured image (upload one, or reference an image from an upstream step). The step returns the new post ID, its URL, and the status.
Create an event on your WordPress site. Requires The Events Calendar plugin on your site. The title and start date are required, and a venue and organizer can be created and linked in the same step.
Set the event title and start date (both required and expression-capable). The end date is optional and defaults to two hours after the start. You can add a description, status, featured image, cost, and timezone, plus venue and organizer details. When you provide a venue or organizer name, it is found or created on your site and linked to the event. The step returns the event ID, its URL, and the status. Like posts, new events default to Draft.
Pull posts from your WordPress site as a list, filtered by status, search text, category, tag, or date. Runs on its own with no upstream step, so it works as a data source at the start of a workflow.
Set the filters you want: statuses (published only by default), a search term, category or tag IDs, and a date range. The output is a list of posts, which you connect to a For Each to process each one. Use the Fields to Keep option to trim each post down to just the fields a downstream AI step needs, which keeps the data passed along small.
Pull events from your WordPress site as a list, filtered by status, search text, category, or start date. Requires The Events Calendar plugin. Runs on its own as a data source.
Set the filters you want: statuses, a search term, category IDs, and a start-date range. The output is a list of events, which you connect to a For Each to process each one. Use Fields to Keep to trim each event to the fields you need downstream.