For the complete documentation index, see llms.txt. This page is also available as Markdown.

First input to output workflow

A workflow connects inputs, processing steps, and outputs. Use it to define how StackAI turns a request into a result.

Before you start

You need permission to create and edit a project and access to an AI model in your organization. Prepare a short paragraph you can check manually. This first workflow does not require an API, code, files, or external connections.

Create the project

From Projects, select New Project and choose the workflow option. In the creation dialog that offers New Workflow, choose it to start with a blank canvas. Enter a descriptive project name and create the project.

New workflow project creation

For this first workflow, you need only Text Input, AI Agent (the model step), and Output. Use the node sidebar’s search to find these node types and drag each from the sidebar onto the canvas. If your starting project already contains them, use those existing nodes. You can also start from a template and inspect its preview for these steps before using it.

Connect the workflow steps

Connect Text Input → AI Agent → Output. Drag from a node’s outgoing connection handle to the next node’s incoming handle. Follow the connecting lines to confirm the input reaches the model and the model reaches Output.

Input, model, and Output connections

Connections determine the execution path. References determine which values a node receives.

Configure the model

Open AI Agent and choose a model available to your organization. In Instructions, enter:

Click inside Prompt, type @ to open the reference picker, and select Text Input and its text value. The inserted reference should appear as a reference control, rather than ordinary text containing the node’s name. Selecting that reference lets you inspect or edit its mapping.

Model Instructions and Text Input prompt reference

The reference supplies the current input each time the workflow runs.

Configure the output and run

Open Output and review its connected source.

Output source configuration

Use a custom template only when you need to select particular fields or change their presentation.

Enter a short paragraph with three checkable facts in Text Input, save the draft, and select Run. Inspect the input, model result, and Output. Expect three short bullets based on the paragraph. Change a fact and run again to confirm the new value reaches both the model and Output.

First workflow run and output

Saving the workflow does not publish an interface for end users.

Important behavior

Connecting two nodes defines the processing path. Use the reference picker to pass a value from one node into a field in another node.

Check the result and share it

The run should show the submitted text at the input, a response from the model, and that response in Output. If the model receives no request text, check the Prompt reference. If the model answers but Output is empty, check the output mapping.

When the result is correct, publish a Chat Assistant so users can interact with the workflow without opening the canvas.

Last updated

Was this helpful?