Use the WordPress Meta Box Setup Trigger

Learn when the meta box setup trigger fires, what post-type context it receives, and why it is different from a post-save event.

The Meta Box Setup trigger is available in the WordPress Post group in the AI Agent Workflows editor. It starts a workflow when WordPress fires the add_meta_boxes hook. The exact timing depends on the event represented by that hook.

Screenshot to add: [Workflow editor showing the Meta Box Setup trigger and its configuration]

When this trigger fires

This trigger maps to WordPress’s add_meta_boxes hook, which relates to meta-box setup rather than a completed post save. Use it only when that timing matches your automation.

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

  1. Open the workflow in the visual editor and open the node picker.
  2. Select WordPress, then the Post group, and add Meta Box Setup.
  3. This catalog entry does not expose the configurable Post Types filter. Review its captured data to confirm it matches your intended use.
  4. 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: add_meta_boxes. This reference describes the trigger registration in the supplied plugin source; it does not claim that a live event has been tested.