Workflow user guide

This user guide will provide everything you need to know about how to configure, implement and optimize complex payment workflows using our low code UI workflow designer available through Composer.

You can use Workflows to easily define which payment gateway should receive your transactions with limited changes to our single API. Routing options that are currently available in Workflows include direct (static) gateway routing and split volume routing. We will be adding more supported configuration options in future releases!

  • Direct (static) gateway routing: Route your payments to a single gateway.
  • Split volume gateway routing: Route your payments to 2 gateways by specifying the volume %.

📘

Each Workflow is specific to a Spreedly Environment; however, an unlimited amount of workflows can be created within a given environment. Customers that have multiple environments should create workflows for each environment.

Permissions by role-based access control

To create and manage workflows, each role has a unique set of permissions.

  1. Administrator: Full access which includes the ability to create, update, read, delete and update a workflow to default
  2. Environment Manager: Limited access which includes the ability to create, update and read workflows
  3. Analyst: Limited access which includes the ability to read workflows

How to create and manage workflows

  1. Login to your Spreedly App using your credentials and navigate to the Composer page
Select Composer in the app's navigation menu

Select Composer in the app's navigation menu


  1. Create a new Workflow

    1. Select Create a workflow on the Workflows page to navigate to the Workflow designer.

    2. Create a Workflow name. This will be helpful for referencing your workflow within the app.


    Select a gateway from the drop-down menu. Only Composer enabled gateways created within your environment will be available for selection. View the updated list here for more information. If only one gateway is selected, all transactions will be routed to this gateway.

    1. [optional] Select Add split gateway to route your payments between two gateways.

    2. [optional] Update the split % to specify the volume allocation across the two gateways.

    3. Select Save changes to save the workflow.

    📘

    The volume split feature uses a random number generator to allocate transactions to each gateway based on the specified percentage. For smaller transaction volumes, you may notice minor variations between the actual and desired split due to the probabilistic nature of the volume split mechanism. As the transaction volume increases, these variations will decrease, providing a more accurate distribution.

  2. View Workflow token

    1. After selecting Save changes, a Workflow key is generated and can be used as a workflow_key value in your API request.

    📘

    If this is the first Workflow created within your environment, it will automatically be set as the Default Workflow. The Default Workflow can be used in place of a workflow_key value in your API request. See step 5 for more details on Default Workflows.

  3. View Workflow List

    1. Navigate to the Composer page to view all Workflows within your environment.

    2. Order list by the created date and easily create a new workflow from this page.

  4. Update the Default Workflow

    1. If you have more than one Workflow within your environment, update the default workflow by selecting the Make default button. Not specifying a workflow_key value in the API request will result in the Default Workflow being used. Using the Default Workflow can help to reduce engineering time spent updating the workflow_key in the API in some business cases.

    🚧

    Once a workflow is updated to the default, API transactions with default Workflow designations will immediately be routed to the new workflow.

  5. Update a Workflow

    1. Select the gear icon located on the Workflow card to update a workflow.

    2. Update the Workflow name, gateways and/or volume split. Select Save changes to update the workflow.

    🚧

    Once your changes are saved, API transactions with that Workflow key will immediately reflect the workflow changes.

  6. Delete a Workflow

    1. Navigate to the workflow and select the Delete workflow button in the upper right corner of the page.

    🚧

    Deleting the workflow will remove the Workflow key and delete any rules or routing that are associated with the Workflow. Delete workflow will be disabled if it is designated as the default. You will need to change the default workflow in order to delete the Workflow.

  7. View Payment Capabilities in Workflow

    1. View the payment methods and payment processing features available based on the gateway types selected dynamically in the Workflow by selecting View payment capabilities. If at least one gateway selected in the workflow does not support a payment capability, the capability will be disabled in the UI.