Writing effective instructions
The instruction is the most consequential part of any node. A vague instruction produces inconsistent results. A specific one produces reliable output. Every instruction should cover three things:- What data or entities to look at.
- What conditions or thresholds matter.
- What the output should include and how it should be formatted.
Weak vs. strong instructions
What makes an instruction strong
- Include time ranges, status filters, and exclusions so the node knows exactly what to include and what to ignore.
- Specify how results should be grouped and sorted.
- Name the exact output fields or columns you need.
- Specify what to output when there is no data or nothing to flag — otherwise, the node will decide on its own.
Node-specific rules for Visual Mode
Each node’s instruction must make sense on its own. Do not reference other nodes by name. Describe the input data the node should expect instead: Given the list of assignees from the incoming issues, fetch their last 10 resolved tickets. Tell each node what to produce, not how to produce it. The node decides the implementation.
Assign one responsibility per node. If an instruction covers two unrelated concerns, split it into two nodes.
Writing trigger criteria
Trigger criteria determine when your agent acts versus staying silent. Vague criteria produce unpredictable behavior. Concrete thresholds produce consistent ones.
Start with a single condition. Once you confirm it fires correctly, add more. A multi-condition trigger that has never been tested independently is significantly harder to debug.
When to use trigger criteria
Use trigger criteria when you only want output on specific conditions: anomaly detection, threshold breaches, or service level agreement violations. Leave the criteria field empty for regular reporting, such as daily summaries, weekly performance reviews, and monthly trend analysis, so the agent always delivers output when it runs.Choosing the right schedule
Match the schedule to how often your data changes and how quickly you need to act on it.
A daily schedule is the right default for most agents. Hourly runs add noise and make triggers harder to tune unless you genuinely need to react within the hour.
Formatting output
Telling the agent what to analyze without telling it how to present results produces inconsistent outputs. Be explicit about structure in every instruction that generates an output.- Name your section headings: “Section 1: Overview”, “Section 2: Details”
- Specify table columns: “Include columns: Deal Name, Stage, Days Stuck, Owner”
- Define number formats: “Show currency as $X,XXX” and “Show percentages as X.X%”
- Handle conditional sections: “Only include the Incidents section if incidents occurred”
- Set volume limits: “Limit to top 10 entries ranked by largest change”
Routing data through If/Else nodes
If data is needed on both sides of an If/Else node, connect it through the node. Do not wire around it. Bypassing the node causes both branches to activate regardless of which condition is met. Use concrete values in every If/Else condition.Using the Artifact Builder
Connect Data and Analysis nodes directly to the Artifact Builder when the output requires tables or charts. Routing everything through a Summary node first strips the structured data the Artifact Builder needs. Split the Artifact Builder instruction into two parts:- Organization: How to group the data, which tables or lists to create, and what to include in each section.
- Format: How the final output should look: section headings, column names, number formats, and conditional sections.
Testing before activating
Run a preview before publishing any agent. Click Preview at any point during building, not just when the workflow is complete, to check what each node is producing and catch problems before they compound.Iterating on results
Pre-publishing checklist
Before publishing any agent, confirm the following:- Instruction covers what to analyze, what conditions matter, and how to format the output.
- Edge cases handled: output defined for when there is no data or nothing to flag.
- Trigger criteria use concrete values (if applicable).
- Trigger tested independently before full workflow test.
- Schedule matches how often the data changes.
- Output format specifies sections, columns, and number formats.
- Full end-to-end preview completed and output reviewed.
- Delivery channel configured.
Next steps
Build an Agent in Visual Mode
Step-by-step guide to building your first Visual Mode agent.
Nodes Reference
Full description of every node type, its inputs, and when to use it.

