Skip to main content

Instructions node

The Instructions node is the step that does the work a model is good at: writing the reply, searching the knowledge, calling a tool, filling a form. A Reasoning node decides which path a conversation takes, and the Instructions nodes on that path act.

A small agent can be a single Instructions node. A larger one has several, each with a narrow job.

Write the instructions​

Say what this step should do, in plain words, as you would brief a colleague: what the person needs, what to check, what to answer, and what never to do.

  • One job per node. "Answer the billing question from the help center" is a step. "Handle the customer" is a whole agent.
  • Use values from the run. Instructions can include values from the context your systems sent, from earlier nodes, and from saved state, written between double braces.
  • Leave the agent-wide rules to the agent. Tone, language, and what the company never does belong in the agent's own instructions, which every node inherits.

Choose what it can use​

Tools​

Each Instructions node sets its own tool access:

SettingWhat the step can call
Auto (default)Everything the employee has: knowledge search, allowed websites, the code sandbox, skills, tables, integrations, and MCP servers
Selected toolsOnly the tools you name
One tool firstCalls the tool you name first, then may continue with the others
NoneNo tools at all, knowledge search included

Use None only for a step that just talks, such as an acknowledgment. A step that answers from your documents, creates a file, or reads and saves data needs its tools.

A step can also be set to only call tools and write nothing, for example to show a list of options or a document without adding a sentence.

Search and web pages​

  • Google Search grounding: the step searches the web while it runs and passes on the sources it found.
  • URL context: give the step a list of addresses to read. Use it when you already know which pages hold the answer.
  • Website access: the step browses sites you allowed, including ones behind a login.

Files in the conversation​

By default a step receives the full text of spreadsheets, documents, and other text files in the conversation. A step that never reads them, such as one that builds a reply from values already extracted, can receive only a reference to each file. That keeps a large spreadsheet from being paid for on every step. PDFs, images, and audio are not affected.

Choose the model and effort​

SettingChoicesWhen to change it
Model tierLite, Regular (default), ProLite for simple, high-volume steps. Pro for long documents and hard judgment
Thinking levelMinimal, Low, Medium (default), HighLower for single-shot extraction. Keep or raise for steps that loop over tools
Temperature0 to 2, default 1Lower for steps whose answer should not vary between identical runs
Maximum outputA token limitCap a step that should stay short
Retries1 to 10Raise for long outputs on an unreliable connection

Less thinking is not always cheaper. On a step that calls tools many times, a model that reasons less decides worse at each call, takes more calls, and resends the whole context every time. Lower the thinking level for extraction and classification, not for steps that browse or chain tools.

Choose what comes out​

A reply for the person​

By default the text the step writes is the reply the person sees, streamed as it is written.

An internal step​

Mark a step internal when its output is for the next node and not for the person: a summary of search results, a draft another step will check. Its text is not shown. The reply comes from a later step that is not internal.

Structured output​

Give the step an output schema and it returns data in that shape, such as { "approved": true, "amount": 129.0 }, where it would otherwise write prose. Use it when the next node is a JavaScript node, a Webhook node, a condition on an arrow, or your own system calling the agent from code.

Run it beside the main path​

An Instructions node, like the other action nodes, runs in one of two modes:

  • Sync: the run waits for the step before it continues.
  • Async: the step runs in parallel and the run moves on.

Use async for work the reply does not depend on, such as saving a record or sending a notification.

Patterns that work​

Answer from knowledge. Auto tools, the regular tier, and instructions that say to answer only from what the search returned and to say so when it returned nothing.

Collect, then confirm. One step asks for the missing details. A Reasoning node checks that they are all there. A second step confirms them back before anything is saved.

Research, then write. An internal step with search gathers the facts into structured output. A second step, with no tools, writes the reply from those facts. The writing step cannot invent a source it was never given.

Acknowledge fast. A lite step with no tools says the request was received, while an async step does the slow work.

Mistakes to avoid​

  • Turning tools off on a step that answers. With no tools the step cannot search your knowledge, so it answers from the model's memory.
  • One step for the whole conversation. A long prompt covering every case is hard to test and easy to break. Route first, then use narrow steps.
  • Lowering the thinking level to save money on a tool-heavy step. It usually costs more.
  • An internal step at the end of a path. The person sees nothing. The last step that should speak must not be internal.

Next steps​