Prompt steps call AI models to generate text, analyze data, or answer questions. They’re the core building block of AI workflows.
Use natural language to instruct the AI. Be specific about what you want:
Weak:
Better:
Reference Flow inputs and previous step outputs with {{variable}} syntax:
Variable names come from the inputs field when triggering the Flow or from the outputVariable field of previous steps.
Different models have different strengths. Use the routed model format (e.g., claude-sonnet-4-6, gpt-5-mini, gemini-3-flash) so your Flows stay current as models are updated. Choose based on task complexity, speed requirements, and cost.
Fine-tune model behavior:
Controls randomness (0-2):
Limits response length. Set conservatively to control costs.
Optional instructions that set the AI’s behavior for the entire conversation. Use for role definition or global rules.
Test prompts in the Playground before adding to Flows. This lets you iterate quickly without running the entire Flow each time.
Each prompt step has an outputVariable in its configuration. Reference that variable in later steps:
If the prompt returns JSON (responseFormat: json), access specific properties with dot notation:
The variable name comes from the step’s outputVariable field, not the step name.
Prompt steps can fail if:
Configure retry behavior in Flow settings or add conditional steps to handle errors.