capabilities.work

Workflow Studio Drive A Flow

A 5-step recipe with Trulioo. We can help you get access.

Recipe · 5 steps

Workflow Studio Drive A Flow

with Trulioo

Authenticate, init a flow, drive one step, and read the resulting profile.

  1. Exchange the OAuth client credentials for a Platform API access token.
  2. Create a new user state with the supplied init data and capture the userStateId that identifies the flow.
  3. Fetch the current step for the flow identified by the new userStateId.
  4. Submit the step payload to advance the flow to the next step.
  5. Retrieve the end-client profile and verification data produced by the flow.
What you'll need to have ready
  • clientId: OAuth client_id for the Platform API.
  • clientSecret: OAuth client_secret for the Platform API.
  • initData: Initialization payload used to create the user state.
  • stepData: Payload submitted for the current flow step.
  • endClientId: End-client identifier whose profile to read after the flow advances.
For your developer

Arazzo workflow trulioo:workflow-studio-run-flow, 5 operations: postAuthCustomer → createOrUpdateUserState → getFlow → submitFlowData → getProfile. Specs on APIs.io.