Chrome extension backend that uses OpenAI to analyze stock and crypto charts with technical insights.
Build a backend for a Chrome extension that analyzes financial charts using AI. Send a screenshot of any stock or crypto chart and receive detailed technical analysis with market direction insights. Uses OpenAI's vision capabilities to interpret chart patterns and provide beginner-friendly explanations.
{
"name": "AI Chart Analyzer Backend",
"nodes": [
{
"id": "0f38fe62-36d9-43da-a992-a3981377e89e",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
-220,
-20
],
"webhookId": "chart-analyzer-webhook",
"parameters": {
"path": "chart-analyzer",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "83959562-edf5-4d37-bd11-47186c6a31c7",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-40,
-20
],
"parameters": {
"text": "You are an expert financial analyst tasked with providing an advanced technical analyses of a stock or crypto currency chart provided. Your analysis will be based on various technical indicators and will provide simple insights for novice traders. Just explain to traders were you expect the market is moving. Also warn them this is not a binding advice. Make sure to explain everything in infant language.",
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"resource": "image",
"inputType": "base64",
"operation": "analyze"
},
"credentials": {
"openAiApi": {
"id": "YOUR_OPENAI_CREDENTIAL_ID",
"name": "OpenAI"
}
},
"typeVersion": 1.7
},
{
"id": "c6f1f833-7ba3-49c5-86df-f586e6bb5975",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
140,
-20
],
"parameters": {
"options": {},
"respondWith": "text",
"responseBody": "={{ $json.content }}"
},
"typeVersion": 1.1
},
{
"id": "promo-sticky",
"name": "Promo",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
-140
],
"parameters": {
"width": 400,
"height": 420,
"color": 4,
"content": "## Template by Harshith Vaddiparthy\n\n\n**Learn to Build AI Automations**\nMaster n8n, AI agents, and no-code automation in my comprehensive course.\n→ harshith.com/vibecode\n\n\n**Content Automation Consulting**\nI help businesses automate video creation, social media, blogs, and newsletters.\n→ harshith.com/meet\n\n\n**Connect with me**\n→ linkedin.com/in/harshith-vaddiparthy"
},
"typeVersion": 1
},
{
"id": "e3a38a76-283b-4567-a8da-315ef1e2bc4f",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-140
],
"parameters": {
"width": 620,
"height": 300,
"content": "## AI Chart Analyzer\nWebhook receives base64 image → OpenAI analyzes → Returns insights"
},
"typeVersion": 1
},
{
"id": "8e7e26db-8767-4727-ab0c-900b50a73411",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
180
],
"parameters": {
"color": 5,
"height": 340,
"content": "## AI Prompt\nYou are an expert financial analyst tasked with providing an advanced technical analyses of a stock or crypto currency chart provided. Your analysis will be based on various technical indicators and will provide simple insights for novice traders."
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"OpenAI": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Webhook": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
}
}Copy this JSON and import it into n8n via Settings → Import from File/URL → Paste JSON