Blocks

Data Analysis Agent

Advanced data analysis and insights agent

Create a sophisticated data analysis agent that can process datasets, identify patterns, generate insights, create visualizations, and provide actionable recommendations based on statistical analysis.

Back to Catalog
Agentsdata_analysis_agent

Block Preview

Data Analysis Agent

Advanced data analysis and insights agent

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the data_analysis_agent block with monitoring enabled in production.

Inputs (UI)

System Prompt

long-input

Placeholder: You are a data scientist and analyst...

Layout: full

Dataset

long-input

Placeholder: Enter dataset (CSV, JSON) or describe the data to analyze...

Layout: full

Analysis Type

dropdown

Layout: half

Options: Descriptive Analysis, Trend Analysis, Correlation Analysis, Anomaly Detection

Analysis Goal

short-input

Placeholder: e.g., Identify sales trends, Find performance issues...

Layout: half

Model

dropdown

Layout: half

Options: Dynamic options

Temperature

slider

Layout: half

API Key

short-input

Placeholder: Enter your API key

Layout: full

Condition: model = ["qwen2.5:0.5b","qwen2.5:1.5b","qwen2.5:3b","llama3.2:1b","llama3.2:3b","phi3.5:3.8b"]

Analysis Parameters

code

Placeholder: { "confidenceLevel": 0.95, "significanceThreshold": 0.05, "outlierMethod": "iqr", "correlationThreshold": 0.7, "trendPeriod": "monthly", "includeSeasonality": true }

Layout: full

Visualization Types

dropdown

Layout: half

Options: Auto-select, Charts & Graphs, Statistical Plots, Heatmaps

Output Detail

dropdown

Layout: half

Options: Summary, Detailed, Technical, Executive

Include Statistics

switch

Layout: half

Generate Visualizations

switch

Layout: half

Tools

tool-input

Layout: full

Response Format

code

Placeholder: { "type": "object", "properties": { "insights": { "type": "array", "items": { "type": "object", "properties": { "type": {"type": "string", "enum": ["trend", "correlation", "anomaly", "pattern"]}, "description": {"type": "string"}, "confidence": {"type": "number"}, "impact": {"type": "string", "enum": ["high", "medium", "low"]} } } }, "statistics": {"type": "object"}, "visualizations": {"type": "array"}, "recommendations": {"type": "array", "items": {"type": "string"}}, "dataQuality": {"type": "object"} } }

Layout: full

Knowledge Sources

knowledge-source-input

Layout: full

Max Search Results

slider

Layout: half

Condition: knowledgeSources = ""

Similarity Threshold

slider

Layout: half

Condition: knowledgeSources = ""

Enable Memory

switch

Layout: half

Memory Limit

slider

Layout: half

Condition: memoryEnabled = true

Importance Threshold

slider

Layout: half

Condition: memoryEnabled = true

Memory Tags

short-input

Placeholder: customer-support, billing, technical

Layout: half

Condition: memoryEnabled = true

Inputs (API)

systemPrompt

string

Optional

dataset

string

Required

analysisType

string

Optional

analysisGoal

string

Optional

model

string

Required

apiKey

string

Required

temperature

number

Optional

analysisParameters

json

Optional

visualizationTypes

string

Optional

outputDetail

string

Optional

includeStatistics

boolean

Optional

generateVisualizations

boolean

Optional

tools

json

Optional

responseFormat

json

Optional

knowledgeSources

string

Optional

searchMaxResults

number

Optional

similarityThreshold

number

Optional

memoryEnabled

boolean

Optional

memoryLimit

number

Optional

memoryImportance

number

Optional

memoryTags

string

Optional

Outputs

Primary response type:

{
  "content": "string",
  "model": "string",
  "insights": "json",
  "statistics": "json",
  "visualizations": "json",
  "recommendations": "json",
  "dataQuality": "json",
  "tokens": "json"
}

Conditional output based on: responseFormat

When empty: {"content":"string","model":"string","insights":"json","statistics":"json","visualizations":"json","recommendations":"json","dataQuality":"json","tokens":"json"} | When filled: "json"

Tool Access

function_executejson_processormath_processortext_processorvision_toolfile_parser
Data Analysis Agent | NowFlow Blocks