workflow.resolveFlow
Identify which workflow or nodes a user references in their message by matching content, names, and keywords, providing context without fetching entire workflows.
Instructions
Resolve which flow/nodes the user is referring to based on their message. Uses heuristics to match: selected node content, node names, code/text content keywords. Call this instead of fetching entire workflow for context.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userMessage | Yes | The user message that references a flow | |
| selectedNodeId | No | Currently selected node ID (if any) - greatly improves resolution accuracy |