Skip to main content

Core

Authoring instructions

Building effective workflows is about giving the Nomic agent clear direction. The more specific and structured your workflow design, the more consistent and reliable your results will be.

This guide covers proven practices for creating workflows that deliver high-quality, repeatable results.

Use the Workflow Builder agent

The Workflow Builder agent is trained on these practices and can help you apply them. Describe what you want to automate and the builder agent will draft well-structured instructions, suggest requested files, and help you iterate on the design. You can also paste your existing instructions into the conversation and ask it to review or improve them.

Core Principle: Self-Contained Instructions​

Workflow logic belongs in the Instructions field, not in Linked Artifacts.

Don't split your workflow's behavior across artifacts and instructions. The Instructions field should be the complete, self-contained source of what the workflow does and how it does it.

When instructions live in artifacts, problems arise:

  • The agent must read and interpret the artifact before starting, adding latency
  • If the artifact is modified, behavior may change unexpectedly
  • Workflow logic becomes harder to review and maintain

If you find yourself writing step-by-step procedures, checklists, or workflow phases in an artifact, move them to the Instructions field instead.

Structure Your Instructions​

A well-structured Instructions field follows five sections:

1. Role Statement​

Start with a brief identity statement (1–2 sentences) that tells the Nomic agent what it does and what quality to prioritize:

"You are an agent made by Nomic created to check drawings against an internal standards document. It is important that you are thorough and careful in your drawing check."

Avoid persona-only descriptions that say WHO the agent is but not WHAT to do or HOW:

Avoid: "You are a senior principal architect tasked with analyzing contractor submittals."

The second example describes a persona but provides no actionable workflow. Always pair the role with specific instructions.

2. Output Format​

Define the exact format for results before the workflow steps. This ensures the Nomic agent knows what it's building toward from the start.

  • Specify table columns with headers
  • Provide citation format with concrete examples
  • Explain what each column should contain

For example:

"Present findings in a markdown table with these columns: Drawing Page Number, Standard Requirement, Observed Violation, Standard Citation. The Drawing Page Number should be a markdown link with a citationId to the page."

Output Format Comes First

Defining the output format before the steps helps the Nomic agent structure its work from the beginning, rather than reformatting at the end.

3. Numbered Steps with Clear Objectives​

Break down the workflow into numbered steps, each with a stated objective:

## Step 1

Objective: Read and understand the submittal document.

## Step 2

Objective: Search specifications for relevant requirements.

## Step 3

Objective: Compare submittal against specifications and record findings.

For complex steps, add sub-bullets for what each part must produce or decide.

4. Platform Contracts​

Name a tool, skill, or MCP only where the workflow depends on it as a contract:

  • A skill the Nomic agent must follow, by path (e.g., "Follow /skills/drawing-review.md"). Point to the skill instead of copying its steps: skills are updated when tools change, and copied steps are not.
  • An MCP the workflow reads from or writes to, such as Linear or Gmail.
  • An output with a fixed shape, such as a review table's columns or callouts on drawing findings.

Otherwise, describe what each step must produce and leave the method to the agent. Instructions that name a tool for every action go stale when tools change, and they keep the agent from choosing a better route, such as running code or using the computer.

5. Acceptance Criteria​

List the checks the result must pass, and have the Nomic agent run them before it delivers the final result, so a failed check can still change it. Each check should follow from a rule you set for the workflow. Say whether a failed check blocks the deliverable or is reported alongside it.

"Before you publish the table and report, check that every drawing in the set has been reviewed and every finding cites its evidence. Review any drawings that were missed."

The Golden Rule

The clearer your instructions, the more consistent your results. If you find yourself explaining the workflow to colleagues, that explanation belongs in your instructions.

Explore Before Focused Work​

For workflows that start with a large or unfamiliar file set, add an early step that surveys the inputs before the main work: mapping a drawing set's sheets by discipline, locating which files or sections mention a topic, or scoping a long specification. The Nomic agent can hand the survey to a fast, read-only explore sub-agent, which keeps it out of the main agent's context.

Keep the survey specific and bounded: say what question to answer, which files or folders to survey, and what summary to return. The main agent then plans the focused work from that summary.

For example:

"Step 1: Survey the drawing set with an explore sub-agent. Objective: a table with sheet number, title, discipline, and any sheets that appear relevant to fire-rated assemblies, used to plan the review."

Design for Code Mode​

Workflows run with code and sub-agents available, so the Nomic agent can hold documents and results as data, settle exact checks in code, and spend model judgment only where the work needs it. Describe the job and leave the mechanics to the agent. Most workflows need two or three of these patterns:

  • List what must get an outcome. When every clause, requirement, or sheet must be accounted for, have the agent build that list from the source first and give each item exactly one outcome.
  • Settle exact checks in code. Matching IDs and references, comparing revisions, totals, counts, and dates are computed, not judged. Say which checks are exact.
  • Split, then merge. For large inputs, say what the work splits on (an issue class, a group of requirements, a document) and what each part returns. Each part sees only its own brief, so say what every part needs: the files, the standard, and what counts as a finding. The main agent merges the parts and removes duplicates.
  • Build shared references once. When every part checks against the same standard or clause list, have the agent prepare it once for every part to read.
  • Carry state as data. When a workflow updates a register from an earlier run, have it update rows by their stable ID instead of regenerating the register.
  • Try to disprove findings. For reviews with many findings, a fresh check that tries to refute each one removes false positives. It can remove findings, so add it deliberately.

Splitting costs scale with the number of parts. When testing a new workflow, start with a narrower scope to verify the right information is gathered before scaling up.

Use Artifacts Wisely​

Artifacts are useful, but they work best when used for their intended purpose.

Good — reference data. Artifacts are most useful for static domain knowledge the agent needs during execution: legends, terminology tables, standards definitions, or other reference material. These are most valuable when based on content you or your team have written or entered directly.

Avoid — instruction documents. If you're writing "Phase 1", "Step 1", or "Actions:" in an artifact, those belong in the Instructions field instead. See Self-Contained Instructions.

Avoid — output containers. The agent can create its own tables and markdown documents as it works, so there is no need to pre-populate an artifact with output structure. If you want a specific output format, describe it in the Instructions field and the agent will create the appropriate documents at runtime.

Do ThisAvoid This
Store reference legends and terminology tablesPut workflow instructions in artifacts
Use artifacts for static domain knowledgePre-populate artifacts as empty output templates
Keep artifacts focused on a single purposeCreate many overlapping artifacts

Request the Right Files​

When your workflow requires users to provide files, make it easy for them to understand what's needed.

Write meaningful descriptions. Every requested file should have a description explaining what it's for and what type of file is expected:

"Drawing Set — Upload the architectural floor plan PDF you want to check for code compliance"

"Project Specifications — Upload the relevant spec sections for submittal review"

Distinguish requested files from context. Requested files are per-run inputs that change every time someone uses the workflow (e.g., "the submittal to review"). Context files are persistent reference material that stays the same across runs (e.g., "company standards document"). Use the Requested Files field for per-run inputs and the Context section for persistent references.

Set slot behavior deliberately. For each requested file slot, choose:

  • Required vs optional — Optional slots let users launch without that input
  • Single vs multiple files — Multiple is useful for inputs like drawing sets or multi-part submissions

Use required + single by default, then relax only where the workflow can still execute reliably.

Better Descriptions = Fewer Questions

Good file descriptions save time for everyone. Users know exactly what to provide, and your workflow gets the inputs it needs.

Effort​

Pick Low, Medium, High, or Extra High on the model. Used Deep Research before? That's Medium. Used Background Agent? That's High.

Set Up Inputs and Outputs​

The Inputs and Outputs fields are short, descriptive labels that appear on the workflow card. They give users a quick sense of what the workflow expects and produces before they start it.

Write concise, descriptive labels:

  • Inputs: "Drawing set, standards PDF" or "Submittal, project specs"
  • Outputs: "Compliance table, summary" or "Review report"

These labels don't affect how the workflow executes — they are purely informational for users browsing workflows.

Common Pitfalls to Avoid​

Pitfalls That Lead to Inconsistent Results
  • Delegation to artifacts — Don't write instructions like "read the attached artifact for your workflow plan." Put all instructions directly in the Instructions field.
  • Persona-only prompts — A role description without actionable steps produces unpredictable results. Always include numbered steps with clear objectives.
  • Scripting every tool call — Instructions that name a tool for each action go stale when tools change. Describe what each step must produce, and name only the skills, MCPs, and output shapes the workflow depends on.
  • No output format specified — Without a defined format, results may vary each time the workflow runs.
  • No acceptance criteria — List the checks the result must pass, and have the agent run them before it delivers.
  • Empty file descriptions — Users shouldn't have to guess what files to provide. Every requested file needs a clear description.

Putting It All Together​

A well-designed workflow combines all these elements:

  1. Self-contained instructions with all workflow logic in one place
  2. Five-section structure — role, output format, steps, platform contracts, acceptance criteria
  3. Outcomes, not tool steps — name only the skills, MCPs, and output shapes the workflow depends on
  4. Explore for bounded reconnaissance before focused work on large file sets
  5. Code-mode patterns that fit the job: a list of items to account for, exact checks in code, and splits for large inputs
  6. Focused artifacts for reference data only, not instructions or output templates
  7. Descriptive file requests that guide users on what to upload
  8. Clear input/output labels on the workflow card
  9. Effort that matches the job — High at most; Extra High has not improved results over High
  10. Acceptance criteria checked before delivery to ensure quality and completeness

When you follow these practices, your workflows will deliver consistent, high-quality results that your team can rely on.


Ready to build your first workflow? Open the Workflow Builder, design one with the builder agent, or start from a Nomic workflow.