Overview
To create a guided flow, add thesteps array to the request body
Steps
Thesteps array contains the steps of the guided flow. Each step is an object with the following properties:
| Value | Description |
|---|---|
| user_instruction | The instruction given to the user at this step |
| capture_on | The url that allows the user to capture the data |
| auto_redirect | Whether to automatically redirect the user to capture_on url |
| ai_instruction | The additional instructions given to the AI at this step |
| full_screen | Whether to capture the entire page or just the visible area |
| fields | The fields to capture at this step |
capture_on
Thecapture_on property defines the URL where data capture occurs. Use variables in
the format :variable_name to dynamically extract values from the user’s current URL.
Example
- capture_on
https://www.linkedin.com/in/:userId/overlay/about-this-profile/ - user is on
https://www.linkedin.com/in/1234567890/overlay/about-this-profile/ - extracted value
:userId=1234567890
This is especially useful when
auto_redirect is set to true, the system automatically uses
extracted variables to construct redirect URLs.
Example
If you specify a redirect URL with :userId and
the system has already extracted userId as 1234567890, navigating
to https://www.linkedin.com/in/:userId/details/experience/ will redirect
to https://www.linkedin.com/in/1234567890/details/experience/.
Sample Steps
Following is a sample steps for a guided flow that captures the user’s LinkedIn account information.json