Articles

gravityflow_pre_restart_workflow

The gravityflow_pre_restart_workflow action fires just before the workflow restarts for an entry.

gravityflow_print_entry_footer

Use this action to add custom text on the bottom of each entry when printing entries.

gravityflow_send_to_step_condition_not_met

The gravityflow_send_to_step_condition_not_met filter determines what next step a workflow should proceed to instead of the selected step that failed its step conditions.

gravityflow_admin_action_feedback

The gravityflow_admin_action_feedback filter can process custom choices from the admin actions drop-down menu on the workflow detail page.

gravityflow_reports_args

The gravityflow_reports_args filter allows the reports display arguments to be overridden.

gravityflow_sort_criteria_status

The gravityflow_sort_criteria_status filter allows the initial sort order on status page load to be defined.

gravityflowpdf_process_template_shortcodes

The gravityflowpdf_process_template_shortcodes filter can be used to prevent shortcodes placed in the PDF template being processed.

gravityflow_sort_columns_status_table

The gravityflow_sort_columns_status_table filter allows custom columns defined in gravityflow_field_value_status_table to be sorted.

Blocks

Gravity Flow Blocks let you embed Gravity Flow functionality directly into your WordPress site. Four blocks are available for use.

Configuring Outgoing Webhook Steps with response mapping

Introduced in Gravity Flow v2.3, it is possible map the JSON values sent in the response to field values. This happens before the workflow moves on to the next step so you can define what happens next in the workflow depending on the response of an external API. For example, your webhook may request approval status from an external API, store the result in a field value and send a conditional notification based on the result.