Additional Workflow Configuration

Set Workflow Variables

You may find that your workflows require user-specific values which need to be provided programmatically, not through the Forge Modal. This is particularly useful when you are storing merchant data outside of the objects accessible via API. In order to achieve this, you can add a Variable Block to the workflow, specify as many fields as you need, and then use those fields later in the workflow where the user-specific values are required. After a user creates a child workflow, use this endpoint to set the user-specific values in the Variable Block. For example, a Variable Block with the following setup:

should have the following request body:

  "accountNumber": 234234234,
  "accountName": "A Real Account Name"

Did this page help you?