Workflow Integration

Use workflows to integrate the Hosted Solution.

Overview

This guide walks you through integrating the Hosted Solution with ComplyCube workflows.

circle-info

For a quick copy-paste example, use our integration assistantarrow-up-right.

Integration guide

Flow Integration (Hosted Solution) via Workflows Guide

ComplyCube's hosted solution requires a flow session to be initiated by your backend. Here’s how it works:

1

Create a client

Every flow session starts with a client (i.e. customer). Use the API to create the client.

Example request

Example response

The response will contain an id (the Client ID). It is required for the next step.

circle-info

See Clients API Reference to learn more.

2

Generate a hosted page session

A hosted page session creates a unique ComplyCube URL that you can use to redirect your customers to complete their identity verification.

As part of the request, you are required to specify a workflow template IDarrow-up-right. The Hosted Solution will automatically run the active version of the selected workflow.

Example request

Example response

circle-info

See Flow Sessions API Reference to learn more.

3

Redirect the customer to the URL

Redirect your customer to the redirectUrl generated in the previous step.

Once your customer starts the flow, a workflow session is automatically created. This session contains all captured data (documents, images, and videos) as well as progress tracking. You can view all of them through the workflow sessions pagearrow-up-right on the portal or through the API.

When the customer completes the flow on the hosted solution:

  1. ComplyCube will automatically run all verification checks configured within that workflow.

  2. The customer will be redirected to the successUrl you provided.

You can access the results and a detailed breakdown of each check via the API or Web Portal. If you’ve configured webhooks, ComplyCube will send a notification upon completion of each check.

Branding

You can customize accent colors and upload your logos to the hosted page via the brand settings pagearrow-up-right, if available on your plan.