Articles

The Workflow Web/REST API

The following endpoints are currently available for the Gravity Flow Web/REST API v2 and v1.

Types of steps and where they come from

If your website only has Gravity Forms and Gravity Flow active, five default step types are available. In these cases, you define what type of assignee (user, WordPress role, email field) can interact with all, or a subset of the fields of data for that specific entry.

Approval Step Type

The Approval step is all about asking your potential assignees a yes/no question in relation to data that has been provided in the entry.

User Input Step Type

From a website users’ perspective the User Input step type is the closest equivalent to a standard form submission. That doesn’t mean that it is just about replicating the submission experience as the combination of assignees, display field and editable field settings can allow you to configure user input steps that serve a wide variety of use cases.

Outgoing Webhook Step Type

The Outgoing Webhook step is all sending a request to another system, possibly providing entry data to that system or receiving data to map back into the entry.

Gravity Forms add-ons Step Types

In this guide, we will explore how Gravity Flow allows feed-based add-ons to run as workflow steps, not just on form submission.

How to design a workflow

With Gravity Flow you can implement complex workflows quickly without specific development tools or experience. Let’s review how Gravity Flow fits into your website and provide brief overview of some core terms you’ll be reading through the rest of the lessons.

Using the Workflow Step Screen

Now that we have all our fields on the form we can control what steps a form entry will follow after it is submitted and potentially how the fields of data are modified through that process.

Creating a form

In the first lesson in this Getting Started series - How to design a workflow - we looked at some of the core concepts/terms of Gravity Forms and Flow and built out our swim lane diagram as a process map for what we will be building.

From form submission to workflow completion

Gravity Flow can be used to manage all kinds of business processes, such as approvals, sales, school enrolments, vacation requests, and other bespoke automations that save time and cut costs.