Publish posts and events to WordPress, correct events, and pull them back
The WordPress step connects a workflow to your WordPress site. You can publish posts and events, correct an event that is already published, or pull existing posts and events back into the workflow for analysis and repurposing. Five 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.
Correct an event that is already on your WordPress site, such as a changed date, a venue that moved, or an event that should be all-day. Requires The Events Calendar plugin. The event ID is required, and only the details you fill in are changed.
Set the event ID, usually the event ID from a List Events step (for example {{for-each.event_id}}). Then fill in only the details you want to change: title, start, end, all-day, description, status, image, cost, timezone, venue, or organizer. Anything you leave blank stays exactly as it is on your site, so setting all-day does not clear the venue, cost, or description. If no event has that ID, the step fails and nothing is created. The step returns the event ID, its URL, and its status.
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 Include 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 Include to trim each event to the fields you need downstream.