Trigger on WP Insert Comment

Runs after WordPress inserts a comment record. Check its status before treating it as visible to site visitors.

What it means: Runs after WordPress inserts a comment record. Check its status before treating it as visible to site visitors.

Screenshot to add: [Workflow editor WP Insert Comment trigger configuration]

WordPress hook

wp_insert_comment

How to use it

  • Select this event when the timing described above matches the process you want to automate.
  • Inspect the trigger data and map only the values needed by later workflow steps.
  • Test on a staging site or low-risk record before enabling actions that change data or send messages.

Important note

WordPress hooks can run before an operation is complete or multiple times during one user action. Confirm the firing point and available data in your environment before using the trigger for business-critical automation.