The Revision Creation trigger is available in the WordPress Post group in the AI Agent Workflows editor. It starts a workflow when WordPress fires the wp_save_post_revision hook. The exact timing depends on the event represented by that hook.
Screenshot to add: [Workflow editor showing the Revision Creation trigger and its configuration]
When this trigger fires
This trigger maps to wp_save_post_revision, which runs when WordPress creates a revision. It is distinct from the regular post-save and status-change triggers.
Data available to later nodes
For recognized post hooks, the plugin normalizes the event into fields such as source, event, post_id, post_title, post_content, post_content_text, post_excerpt, post_status, post_type, post_name, post_author, post_date, post_modified, and post_parent when the corresponding post data is available. Some hooks add event-specific values, such as old and new status or an update flag. Inspect a captured sample in the editor before relying on a particular field.
Configure the trigger
- Open the workflow in the visual editor and open the node picker.
- Select WordPress, then the Post group, and add Revision Creation.
- This catalog entry does not expose the configurable Post Types filter. Review its captured data to confirm it matches your intended use.
- Save the workflow and test the relevant event on a test site or with non-critical content. Inspect the trigger sample before mapping values to later nodes.
Source hook
Catalog hook: wp_save_post_revision. This reference describes the trigger registration in the supplied plugin source; it does not claim that a live event has been tested.