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 →
{
"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.
agentCoreApi
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 →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
AgentCore — MCP Research Agent. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 2 nodes.
AgentCore — Inline Function Round-Trip. Uses @aws/n8n-nodes-agentcore. Event-driven trigger; 4 nodes.
1_2_VERY_QUICKSTART. Uses n8nTrainingCustomerMessenger, n8nTrainingCustomerDatastore. Event-driven trigger; 7 nodes.
Supercharge Claude 3.7 with full customization & deeper reasoning!
Clara Pipeline B - Onboarding to Agent v2. Uses executeCommand, readBinaryFile. Event-driven trigger; 6 nodes.