AutomationFlowsAI & RAG › Agentcore — Code Interpreter Data Analysis

Agentcore — Code Interpreter Data Analysis

AgentCore — Code Interpreter Data Analysis. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 2 nodes.

Event trigger★☆☆☆☆ complexity2 nodes@Aws/N8N Nodes Agentcore
AI & RAG Trigger: Event Nodes: 2 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "AgentCore \u2014 Code Interpreter Data Analysis",
  "nodes": [
    {
      "parameters": {},
      "id": "1",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "agentName": "data_analyst",
        "modelId": "global.anthropic.claude-opus-4-8",
        "systemPrompt": "You are a data analyst. When given data or computational tasks, write and execute Python code in the sandbox to produce results. Show your work.",
        "prompt": "Generate 1000 random numbers between 0 and 100. Compute mean, median, standard deviation, and produce a histogram description (no actual image needed). Return all results as JSON.",
        "tools": {
          "tool": [
            {
              "type": "agentcore_code_interpreter",
              "name": "code_interpreter"
            }
          ]
        },
        "additionalOptions": {
          "timeoutSeconds": 300,
          "maxTokens": 4096
        }
      },
      "id": "2",
      "name": "Data Analyst",
      "type": "@aws/n8n-nodes-agentcore.agentCoreHarness",
      "typeVersion": 1,
      "position": [
        480,
        300
      ],
      "credentials": {
        "agentCoreApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Data Analyst",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AgentCore — Code Interpreter Data Analysis. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 2 nodes.

Source: https://github.com/aws/n8n-nodes-agentcore/blob/c105884c0f657bffab9b9b9ebcaf879aa9c342e9/examples/02-code-interpreter.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

AgentCore — MCP Research Agent. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 2 nodes.

@Aws/N8N Nodes Agentcore
AI & RAG

AgentCore — Inline Function Round-Trip. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 4 nodes.

@Aws/N8N Nodes Agentcore
AI & RAG

1_2_VERY_QUICKSTART. Uses n8nTrainingCustomerMessenger, n8nTrainingCustomerDatastore. Event-driven trigger; 7 nodes.

N8N Training Customer Messenger, N8N Training Customer Datastore
AI & RAG

Supercharge Claude 3.7 with full customization & deeper reasoning!

Form Trigger, Form, HTTP Request
AI & RAG

Clara Pipeline B - Onboarding to Agent v2. Uses executeCommand, readBinaryFile. Event-driven trigger; 6 nodes.

Execute Command, Read Binary File