Superagento.
All tutorials
AI Agent · Lesson 13

Structured Output

Return predictable fields for the next node

Live example
English narration · 29 sec

Before you run it

Replace agent with your actual node ID. Use a Loop for a list of items.

Read the related guide Open your canvasIncludes a recorded live example using demo data. Configuration close-ups and callouts explain the steps.
English narration generated with Kokoro Heart.

Try it step by step

  1. 1. Structured Output

    Return predictable fields that a spreadsheet or another action can consume.

    THE USE CASEStructured Output
  2. 2. Choose a record

    Choose Single record so the Agent returns a JSON object.

    01 / FINAL OUTPUTSingle record
  3. 3. Define the required field

    Add a required numeric field named total. State the same output shape in the Agent’s instructions.

    02 / NAME · TYPEtotal · number · required
  4. 4. Verify the validated answer

    After clarifying the JSON instruction, the live Agent run succeeded and returned the required numeric total.

    03 / LIVE RESULT{"total": 580}
Read the English transcript

Return predictable fields that a spreadsheet or another action can consume.

Choose Single record so the Agent returns a JSON object.

Add a required numeric field named total. State the same output shape in the Agent’s instructions.

After clarifying the JSON instruction, the live Agent run succeeded and returned the required numeric total.

Keep learningAI model