A flow needs to be valid in order to be tested. This means it can't have any unresolved issues that could cause a user to get stuck at a dead end; this could include conflicting configurations, conditions that are incomplete, or reference things that don't exist.
Whether your workflow is valid or not will be shown by the icon in the bottom right of the canvas, above the zoom controls. Click it to highlight any errors that have been found in your workflow.
Once you have a valid workflow, you can test quickly using two different methods. Live preview & Smart Capture Link. They are both web-based experiences and are quick and easy to access.
Live preview
Live preview can be found in the More menu (3 dots) of the Versions list for a workflow. This is the quickest way to test a flow's logic while you're building it. If you've set up your flow to require data passed in to the start of the flow via API, you'll be prompted to enter dummy data in a simple web form. Your customers won't see this step when you go live with it.
Smart capture link
Smart capture link is the easiest way to integrate an Onfido Studio flow into your app. It's a web-based SDK hosted by Onfido on a domain that can be customized to reflect your brand. It's useful for testing quickly with people in your organization who maybe don't have Onfido Dashboard accounts. It generates a link that can be sent to people via chat or email easily.
To generate a Smart Capture link for a workflow, a version's status must be set to active. An active version is the version that will be displayed to your users. This lets you draft changes safely without pushing them live.
Once you have an active version, click the Smart Capture Link button in the top right of the versions table.
You'll be presented with a link that you can copy, and run yourself or send to a colleague to test.
Comments
0 comments
Article is closed for comments.