Analyze Data
Use AI to analyze structured datasets and generate summaries, insights, or calculated fields.
The Analyze Data node turns your raw marketing data into summaries, insights, or charts using AI. It’s built to handle structured datasets like ad reports, campaign metrics, or website performance—so you can automate analysis, not just reporting.
When to Use It
Use this node to:
- Summarize campaign or ad performance data
- Highlight spikes, drops, or patterns in KPIs
- Calculate new fields (like conversion rate)
- Generate Markdown summaries or structured output
- Power your Google Slides, Email, or Sheet-based workflows
Inputs
Field | Type | Required | Description |
---|---|---|---|
Data | Dynamic Text Area | ✅ | Insert structured data like a table or JSON (e.g. from a “Get Report” node) |
Prompt | Dynamic Text Area | ✅ | Describe what you want AI to do (e.g. “Summarize trends and calculate conversion rate”) |
Model | Model Selector | ✅ | Choose a model like GPT-4.1 or GPT-4o based on your accuracy needs and credit budget |
Force Python Execution | Toggle | ❌ | Forces AI to use Python to calculate fields like CTR, averages, or conversions (no hallucinated math) |
Schema Fields | Schema Builder | ❌ | Define the structure of the output if you want consistent, reusable results (e.g., a table or structured list) |
What Is Schema / Structured Output?
Normally, AI responds with a paragraph or list—but that’s not always useful when you want to reuse the output in Slides, Sheets, or another workflow.
By defining a schema, you’re telling the AI:
“Stick to this format. Return clean fields I can reuse later.”
Why It Matters
Structured output gives you:
- Consistent fields, every time
- Machine-readable format (JSON/table)
- Reusable output for other steps (email, spreadsheet, visualizations)
Example: Calculate Conversion Rate with Schema
Say your previous step outputs a dataset like:
Clicks | Conversions |
---|---|
1000 | 45 |
1200 | 60 |
800 | 32 |
You want AI to calculate conversion_rate (Conversions ÷ Clicks) and return a table with three columns.
Schema Configuration:
clicks
— Number — “Number of ad clicks”conversions
— Number — “Number of conversions”conversion_rate
— Percentage — “Conversions divided by clicks (e.g. 0.045 = 4.5%)”
Now the output will be a clean table that you can pass to Google Sheets, display in a slide, or summarize in another step.
Force Python Execution (When You Want Guaranteed Math)
AI models sometimes get math wrong—especially with ratios, percentages, or aggregations. By default, the AI model will decide to use Python or not based on the prompt.
If you want to ensure accurate calculations, enable Force Python Execution. This forces the AI to use backend Python logic for any math operations, avoiding “hallucinations” or incorrect calculations.
Enable Force Python Execution if:
- You want guaranteed, accurate calculations
- You’re asking the model to aggregate or compute fields (e.g. total spend, CTR, ROI)
- You’re building dashboards or decision-making reports
This ensures AI runs backend Python for logic instead of “guessing” in natural language.
Output
- Without schema: You’ll get a markdown summary with insights, comparisons, or trends.
- With schema: You’ll get a clean, structured JSON table you can pass to downstream nodes (Slides, Sheets, etc.)
Example Use Case
- Get Report node pulls data from Google Ads
- Pass that data to Analyze Data
- Prompt:
“Summarize the data. Calculate conversion rate for each row. Highlight anything with below-average performance.” - Turn on Force Python Execution
- Define a schema with: clicks, conversions, conversion_rate
Now the output will be:
- Accurate
- Consistently structured
- Easy to reuse or send
Credit Cost
Cost depends on the selected model. See the Credits & Usage page for details.
FAQs
What’s the difference between Ask AI and Analyze Data?
What’s the difference between Ask AI and Analyze Data?
Ask AI is general-purpose—great for freeform answers or copywriting.
Analyze Data is optimized for working with structured input—like reports or datasets.
What’s the benefit of Schema Fields?
What’s the benefit of Schema Fields?
Schemas help the AI return clean, predictable output—like tables or named fields.
This is critical when you want to reuse AI results in other steps (like slides, exports, or dashboards).
When should I enable Force Python Execution?
When should I enable Force Python Execution?
Turn it on when:
- You’re calculating values (e.g. CTR, averages, sums)
- You want to avoid math hallucinations
- You need high accuracy (especially for numeric fields)
It guarantees correct logic behind the scenes using actual Python.
What formats of data can I pass to the Data field?
What formats of data can I pass to the Data field?
Any structured format works:
- JSON arrays
- CSV-style strings
- Table outputs from other nodes
If you’re pulling from a report or API node, use the dynamic variable selector (+) to insert the output.
Can this generate charts?
Can this generate charts?
Yes. Just ask in the prompt (e.g. “Generate a bar chart comparing ROAS by campaign”).
The output will include markdown-based chart blocks compatible with Slides or Email rendering.