Functions are special types of workflows that can be, themselves, used as a workflow step. You can think of them as the Gravity equivalent of a function
in code.
Functions are essentially the same as workflows, with the primary differences being:
Instead of triggers, you have workflow inputs
Functions can be called from other workflows.
Function Inputs
Function inputs act as arguments that can be passed into the function when being called.
Each input can also have a test value for use when developing the Function:
You can create as many inputs as you need, using all standard data types.
Accessing Function Inputs
Function inputs can be accessed the same as all other data points within the function itself:
Using Functions Within a Workflow
Within a workflow, any function that you have saved will be available as an app:
Any function inputs you’ve configured will then be available within the Config of the step.