Gravity Flow version 1.9 is now available via auto-update and for download from the account page.
This is a feature release that adds significant enhancements to the Outgoing Webhook step, role management and some important bug fixes.
Highlights in v1.9
Outgoing Webhook Enhancements
The Outgoing Webhook Step allows power users to send entry data to external APIs. This step is now even more powerful with additional authentication options and request settings.
For example, you could set up an Outgoing Webhook Step to create or update a post on a different site using the WordPress REST API.
The authentication method can now be configured in the step settings. The following authentication types are supported; Basic Authentication and WordPress OAuth1. The username and password for Basic Authentication are specified in the step settings and WordPress sites that use the official OAuth1 server plugin are added using the Connected Apps tab of the Workflow settings page.
The new Headers setting allows request headers to be specified and the request settings also now include the option to define a Raw Body instead of selecting the field values. This is a great way to send a custom JSON string. Of course you can use Gravity Forms merge tags anywhere in the setting.
The following example will create a post on another site using values from the current entry:
Further details in the documentation for the Outgoing Webhook step.
Role Management Enhancements
It’s now easier to find and set capabilities for WordPress roles. Gravity Flow v1.9 adds support for Members v2.0+ by displaying friendly capability names in their own Workflow section.
What’s New in Gravity Flow v1.9
- Added support for Members version 2.0+; moved the capabilities to a new Gravity Flow group with human-readable labels.
- Added the gravityflow_step_assignees filter.
- Added PATCH to the list of request methods in the request method setting of the Outgoing Webhook step settings.
- Added Headers to the Outgoing Webhook step settings.
- Added the Raw body setting to the Outgoing webhook step settings.
- Added Basic Authentication settings to the Outgoing webhook step.
- Added Connected Apps to the Workflow->Settings page. Current only WordPress OAuth1 sites are supported.
- Updated the {workflow_note} merge tag to support the history modifier to control if notes from previous occurrences of the step are output e.g. {workflow_note:step_id=5 history=true}.
- Updated the {workflow_note} merge tag step_id attribute to also support step names e.g. {workflow_note:step_id=’manager approval’}.
- Updated the field conditional logic setting to be enabled by default on the User Input Step.
- Fixed an issue populating multi-select fields with the existing entry value on the user input step when the field uses the new json storageType.
- Fixed the $original_entry parameter not being passed when the gform_after_update_entry hook is triggered on entry update by the user input step.
- Fixed empty fields being displayed on the user input step when ‘show empty fields’ was not enabled.
- Fixed an issue with the shortcode where the gravityflow_status_filter and gravityflow_permission_granted_entry_detail filters don’t fire.
- Fixed the Dropbox step for Gravity Forms Dropbox Add-On versions 2.0+.