formcierge_integration_trigger
Action

Since v1.0.0

Generic integration trigger fired for key lifecycle events. Use this single hook to build integrations that respond to multiple event types without hooking into each individually.

Parameters
$event string Event name. One of: submission_created, status_changed.
$entry_id int Entry ID.
$data array Event data. Keys vary by event type.
add_action( 'formcierge_integration_trigger', function( $event, $entry_id, $data ) {
    if ( 'submission_created' === $event ) {
        // Handle new submission
    } elseif ( 'status_changed' === $event ) {
        // Handle status change
    }
}, 10, 3 );