Workflow Editor¶
Use the workflow editor to build execution paths on the canvas, map data between nodes, and test the draft before publishing. Use Node Types to choose a node, the Node Configuration Reference to look up its fields, and Workflow Settings to configure defaults, access, and triggers.
Open and create a workflow¶
Open Tools > AI Agent Studio > Workflows. Search by name or use Sorted By to find a workflow. The card shows its name, description, code, last editor and update date, and status.
- To start from scratch, select Add. Enter the name, code, family, product, and description, and set Expose to Agentic Apps if needed. The name populates the code. Select Create to open the draft. Configure tags and savings estimates under Details.
- To modify a draft, select Edit. For a published workflow, use View to inspect it or Run to execute it. For a workflow tagged Seeded, open View and use Customize where available. Some seeded workflows allow changes only to LLM and Agent prompts. Duplicate creates a copy with a different workflow code.
- Use Import and Export to move workflow ZIP packages between environments. See Migrate a workflow between environments for steps and destination setup.
Canvas and component palette¶
The top controls are:
| Control | Purpose |
|---|---|
| Zoom Out, Zoom In, Reset Zoom, Zoom To Fit | Navigate the diagram's scale. Reset Zoom uses the 1:1 icon. |
| Prettify | Automatically arrange the graph. |
| Drag Mode, Select Mode | Choose canvas interaction mode. |
| Horizontal Layout, Vertical Layout | Set the diagram orientation. Vertical is the default. |
| Help | Open keyboard shortcuts. |
| Settings | Open workflow-level settings, including the default model and triggers. |
The bottom toolbar provides Home, Recent, Toggle Chat Popup, Show/Hide Component Palette, Locate Node, a validation-error count when present, Undo, Redo, Undo All, Debug, Publish, and Hide Toolbar.
Use Add Nodes to browse the five node categories or filter the available types by name. Use Locate Node to find nodes already on the canvas by category and open their properties. Pin the component palette to keep it open, or close it when you need more room for a property form.
Add and connect nodes¶
- Start at Start and select a type from Add Nodes, or use the + on a connection to insert a step. See Node Types for available types and their uses.
- Set the node name and review its generated code. Configure the resource, inputs, and output for that node according to the Node Configuration Reference.
- Connect downstream nodes in the order they should run. For a decision, configure each intended path for an If Condition or Switch. For a container such as a For Loop or Reference Block, add the steps inside the container.
Property palette and validation¶
Select a node to edit its properties. Detach panel expands the editor; Exit fullscreen returns. ? opens field help. The same shared label can have node-specific behavior, so read the help for the current node.
Use node error indicators and the toolbar validation count to find incomplete configuration. For example, an LLM needs a User Prompt, a Business Object Function needs an object and function, and a Reference Block needs a terminal Return or Publish Signal. Resolve validation errors before opening Debug or publishing.
Draft changes save automatically. If a concurrent-edit conflict occurs, preserve the intended changes and verify the saved draft before continuing.
Expressions¶
Supported fields offer Insert expression, and prompts can use {{...}}. The expression picker includes a search field, voice-input button, and context categories. Root context categories include System, Workflow, User, Triggers, Nodes, and Error. Additional categories depend on declared workflow/app context.
The System category provides these expression paths:
| Label | Expression path |
|---|---|
| Current Date | $context.$system.$currentDate |
| Current Date and Time | $context.$system.$currentDateTime |
| Input Message | $context.$system.$inputMessage |
| Chat History | $context.$system.$chatHistory |
| Trigger Type | $context.$system.$triggerType |
| Response Language | $context.$system.$responseLanguage |
| Input Context | $context.$system.$inputContext |
| Intent | $context.$system.$intent |
For example, use {{$context.$system.$inputMessage}} to pass the incoming message to an LLM node's User Prompt. If a Code node named NORMALIZE_INPUT returns an object with an orderId property, map it with {{$context.$nodes.NORMALIZE_INPUT.$output.result.orderId}}. Verify the upstream output in Debug, especially when a field can be empty or a branch may skip the node you reference. See workflow context examples.
Prompt Optimizer¶
Optimize on an LLM node prompt opens Prompt Optimizer, with System Prompt, User Prompt, Test Inputs, LLM, and Outputs tabs.
| Tab or control | Configuration |
|---|---|
| System Prompt, User Prompt | Prompt editor with expression support. |
| Test Inputs | Sample values for expressions; Run profile (default: Custom), User input, and Auto Collect Inputs. |
| LLM | Workflow-default model or Choose a model, followed by the applicable parameters. |
| Outputs | Editable Output Specification, Generate, and Format. |
| Run | Provide values for required inputs before running. Unspecified inputs can prevent execution. |
| Exit fullscreen | Return to the node properties. |
Test prompt changes with representative inputs and check that the result still matches the node's output specification. For deterministic logic, use the Code node.
Builder assistant¶
Toggle Chat Popup opens assistance with a new-conversation action, prompt entry, Mode choices Act and Plan, voice input, and attachment input. Use suggested prompts to explain a workflow, summarize node connections, or request improvements.
- Plan inspects the workflow and proposes changes for review.
- Act applies requested or approved changes to the workflow. Review the proposed changes when the builder asks for confirmation.
Keyboard shortcuts¶
The following keyboard shortcuts apply on macOS:
| Action | Shortcut |
|---|---|
| Draw Selection / Pan Canvas | Space + drag |
| Locate Node | Command + F |
| Zoom In / Zoom Out | Command + + / Command + - |
| Delete Node | Delete |
| Undo Action / Redo Action | Command + Z / Command + Y |
| Cut / Copy / Paste Selection | Command + X / C / V |
Use Command + F on the canvas to open Locate Node. Close the workflow settings or node editor first if either is open. Open Help for platform-specific shortcuts.
Debugging and publishing¶
- Select Debug and submit a test prompt in Ask Oracle or select a saved Run Profile. Follow the highlighted execution path on the canvas and inspect each key node's inputs and outputs.
- Use a breakpoint to pause at a problem area. Pin known upstream outputs to repeat a downstream test, edit an output to simulate an edge case, or use Override to try a temporary configuration change. Accept an override once you verify it, or discard it.
- Before publishing, remove temporary breakpoints and test outputs, clear any remaining overrides, and rerun the workflow end to end. Verify important branches, including error and empty-result paths, against the expected node outputs and final response.
- Select Publish to make the validated workflow available and activate its configured triggers.