Overview
Use the Structured Output type when you want to extract specific information and use the results as variables in your next actions in your automation. This is commonly used with the Insert Row action or Add Task action to fill up columns in a table.

How to Use It
Click ➕ Add Step and choose the Ask Agent with Structured Output action.
Select the agent you want to use.
Enter the input you want the agent to process.
Click ➕ Add Output to choose the format.
Available output types:
- Text
- Number
- JSON Array
- JSON Object
- Boolean
- Date
- Time
- Date and Time
- URL
- Single Select
Add additional output fields to structure your agent's response.
Finish the automation or add more steps for further processing.
Action Settings
Connector options give you full control over the Create Project automation:
| 🏷️ Field | 🔤 Description |
|---|---|
| Agent | The agent that will be used. |
| Input | The query you want the agent to process. |
| Output | The structure of the agent's reply. |
Use Cases
Not sure how to make the most of this action? Start with these starter prompts:
- Automating Data Extraction from Insurance Agent Chatbot
- Embed an insurance agent on your website to extract lead information.
- Gather and Manage Partner Information
- Automatically gather and sort details from potential partners.
- Real Estate News Gathering
- Automatically gather and extract information from news websites.
You can also build data-driven automation flows yourself:
| 🪄 Use Case | ⏩ Action Flow |
|---|---|
| AI cost difference calculation | ✅ Trigger: Task Added (Est Cost and Act Cost fields) ➡️ Action: Ask Agent With Structured OutputInput: “The estimated cost is $500, the actual cost is $650. What is the difference?”Output: Diff Cost (Number) ➡️ Action: Update Custom Field Diff Cost with result |
| Approval routing based on score | ✅ Trigger: Task Added (e.g., budget approval request) ➡️ Action: Ask Agent With Structured OutputInput: “Rate feasibility from 0–100."Output: Approval Score (Number) ➡️ If Approval Score > 80 → Mark Task as Completed ➡️ Else → Assign Task to reviewer |
| Lead qualification | ✅ Trigger: Form Trigger (new lead) ➡️ Action: Ask Agent With Structured OutputInput: “Is this lead qualified for outreach?”Output: Is Qualified (Boolean) ➡️ If Is Qualified = true → Create Contact in HubSpot |
| Auto-update project KPIs(Dynamic Project Updates) | ✅ Trigger: Schedule (daily) ➡️ Action: Find Task(s) tagged metrics ➡️ Action: Transform Array to String ➡️ Action: Ask Agent With Structured OutputInput: “Calculate completion rate of tasks."Output: Completion % (Number) ➡️ Action: Update Custom Field → Progress Score |
| Scorecard automation with spreadsheet logic | ✅ Trigger: Task Completed ➡️ Action: Ask Agent With Structured OutputInput: “Evaluate task and add performance rating.”Output: Score (Number), Status (Single Select) ➡️ Action: Update custom fields → Score and Status |
| Sync qualified data to external tools | ✅ Trigger: Task Added ➡️ Action: Ask Agent With Structured OutputInput: “Extract name, email, lead score (0–100)."Output: Name (Text), Email (Email), Score (Number) ➡️ Action: Insert Row in Google Sheets |
