Flow Studio
Design independent Flows that combine AnswerSets, GovernanceSets, ExecutionSets, conditions and direct AI calls.
Flow Studio is the visual workspace for building Flows, a separate LakeShark product. A Flow can reference multiple AnswerSets and reusable resources, branch based on results, and produce its own final output. An AnswerSet does not need a Flow to answer questions.
Beta availability: Independent Flow authoring and execution are being rolled out. The standalone Flow API and key-management gates are enabled in beta, but a published Flow must pass a real authorized run before its node execution can be considered verified. Validate what your workspace actually supports before connecting a production caller.
Build a Flow
- Open Flows in the LakeShark console and choose a Flow to edit, or create a new one if the action is available.
- Add the steps required for your workflow. The five selectable action types are listed below.
- Connect steps and set TRUE or FALSE routes for conditions. Keep an unambiguous path to the final output.
- Define the Flow’s input fields and map values between steps. See Inputs and mappings.
- Validate and test before saving or publishing a revision. Do not assume that saving authorizes execution.
The five step types
| Step | Purpose |
|---|---|
| AnswerSets | Resolve a question through an independently configured AnswerSet. A Flow may use more than one. |
| ExecutionSets | Invoke a reusable authorized action with typed inputs and outputs. |
| GovernanceSets | Evaluate and enforce reusable rules at the relevant stage. |
| Conditional | Choose a route based on a defined condition, including TRUE and FALSE branches. |
| Pure AI Call | Make a direct model invocation, separate from AnswerSet answer reuse, with a configured provider and model. |
The Flow’s input and final output are graph endpoints, not additional selectable action types.
Keep resources independent
| Resource | Owns | Can be used by |
|---|---|---|
| AnswerSet | Knowledge, answering policy, output rules, learning and Question Keys | Apps directly, or as a step in a Flow |
| Flow | Graph, typed inputs, branches, revision, Flow Key and final output | Apps using a scoped Flow Key through the beta API |
| ExecutionSet | Reusable external action definition | Authorized standalone calls or Flow steps |
| GovernanceSet | Reusable control definitions | Explicitly authorized runtime assignments and Flow steps |
An AnswerSet’s Question Key calls the AnswerSet decision API, not a Flow. To call a specific Flow, put its Flow ID in the API URL and use a Flow Key issued for that Flow. Flow Keys cannot grant general AnswerSet or management access. The Flow editor has an API action that shows the selected Flow ID, active published revision, and a copyable request. See Run a Flow with the API.
Guides
- Canvas, connections and nodes explains the graph structure and editor controls.
- Inputs and mappings shows the JSON input envelope and typed data-flow examples.
- Validation, testing and run history distinguishes previews from real execution.
- Run a Flow with the API documents the explicit Flow ID endpoint, active published revision, idempotency, and credential separation.