This workflow corresponds to n8n.io template #7240 — we link there as the canonical source.
This workflow follows the Agent → Agenttool recipe pattern — see all workflows that pair these two integrations.
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 →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "25c12ca0-cac5-4091-bd2e-7dd29920c160",
"name": "Think",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
3520,
-192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "01e3b67c-5d7e-49c5-bd5a-656aee0ac5df",
"name": "Supabase Vector Store",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
3760,
624
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "2207a97d-716c-4e2e-8422-ab294805cab2",
"name": "Supabase Vector Store1",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"position": [
3408,
-16
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "67b9a43e-243c-4802-b6e6-3f538af52fe1",
"name": "Embeddings OpenAI",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
3376,
128
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5f7f688e-e960-44b3-b4a3-a7fa2985a4d3",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"position": [
3904,
848
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "54ae7305-0156-4ac9-922d-3ae1875e8603",
"name": "Recursive Character Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"position": [
3952,
1008
],
"parameters": {},
"typeVersion": 1
},
{
"id": "12bad484-8499-4d44-9be6-d72ef19d636d",
"name": "Embeddings OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"position": [
3632,
864
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "9f2a39bd-58cc-46a9-8579-5320dcc5cf36",
"name": "Reranker Cohere",
"type": "@n8n/n8n-nodes-langchain.rerankerCohere",
"position": [
3536,
144
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a0346957-3450-485f-9129-d0b06fe32847",
"name": "ranking",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
4688,
-112
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "00c6073b-4b33-43a9-8a56-2d0549971b5d",
"name": "sectors",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
4464,
-112
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "45a8d10f-5b86-404e-a46a-1ad92ee29613",
"name": "industries",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
4576,
-112
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "1c2c618b-20db-4aa0-af0b-66a4eada4be1",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
3264,
528
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c53c22db-c04a-4bbd-b196-e44fb813c4aa",
"name": "Technical Analysis Tool1",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
4848,
976
],
"parameters": {},
"typeVersion": 2
},
{
"id": "31c63dc9-3ec3-4985-8d6e-9ab318720c8f",
"name": "Trends Analysis Tool1",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
5072,
992
],
"parameters": {},
"typeVersion": 2
},
{
"id": "9f9fb939-de73-4053-aabd-3e80be1d7e65",
"name": "Think2",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
5184,
976
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03cdfb7f-92a8-4c77-abe4-41827551366b",
"name": "Edit Fields1",
"type": "n8n-nodes-base.set",
"position": [
4688,
688
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0fd13acb-3e36-43ff-b067-81dae78208dc",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
4400,
528
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e3b04061-282a-461e-a765-29bd01d81c95",
"name": "OpenRouter Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
4672,
976
],
"parameters": {},
"typeVersion": 1
},
{
"id": "dd51496d-e811-47f0-a595-6accff221265",
"name": "Download Chart",
"type": "n8n-nodes-base.httpRequest",
"position": [
4416,
1296
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "6159dede-050e-4522-b6fd-2f6ca3c66a79",
"name": "Get Chart URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
4208,
1296
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "7c56bac7-5ce3-4f8f-8358-a3d55bc26fa2",
"name": "Get Price History",
"type": "n8n-nodes-base.httpRequest",
"position": [
3648,
1568
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "e25f61b2-3f6a-47b0-b328-799655d8698d",
"name": "Get Bollinger Bands",
"type": "n8n-nodes-base.httpRequest",
"position": [
3648,
1728
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "e382a0d9-91e0-4f70-9ad4-eff792804f54",
"name": "Get MACD",
"type": "n8n-nodes-base.httpRequest",
"position": [
3648,
1888
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "85c0784b-e741-4854-ab9e-2d06234a4316",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
4160,
1728
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "a51be081-47d9-4461-8d95-70bbb8baf268",
"name": "Calculate Support Resistance",
"type": "n8n-nodes-base.code",
"position": [
3872,
1568
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b83d4d06-9cca-47dd-948f-d3693a6ae5f0",
"name": "Organizing Data",
"type": "n8n-nodes-base.code",
"position": [
4368,
1728
],
"parameters": {},
"typeVersion": 2
},
{
"id": "cae1bd43-2eb3-42bb-a5db-900076f3ba56",
"name": "Merge-2",
"type": "n8n-nodes-base.merge",
"position": [
4992,
1568
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "fe8b693e-a2a6-416d-b805-5e0f2d9a5a4f",
"name": "Set Variable",
"type": "n8n-nodes-base.set",
"position": [
4736,
1296
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4921be1f-1699-4d7f-a6a0-7e80dd18296e",
"name": "Warp as JSON for GPT",
"type": "n8n-nodes-base.code",
"position": [
5168,
1568
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3bd3e7aa-f2c0-421b-8e84-5bca4bbbe48f",
"name": "Set Final Response",
"type": "n8n-nodes-base.set",
"position": [
5520,
1568
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3abddf6a-6106-4583-8dc2-37eda37d4370",
"name": "Set Stock Symbol and API Key",
"type": "n8n-nodes-base.set",
"position": [
3296,
1568
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "36c2e5d5-b582-4115-8507-b23bd9ca8a9b",
"name": "First Technical Analysis",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
4576,
1296
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "90ae7e13-d9a3-41c6-b209-f19fd911a96d",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
4048,
1296
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "df344900-8914-4e5d-ba8d-97bb0d6dba8d",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
3248,
1184
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9c6eeaa7-0ece-4152-b6bb-7e081ab07486",
"name": "Aggregate1",
"type": "n8n-nodes-base.aggregate",
"position": [
4192,
2496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8658e813-0395-4892-84ec-b2c4d18e4660",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
4416,
2496
],
"parameters": {},
"typeVersion": 2
},
{
"id": "6f356e6a-5281-48d2-86d7-980972ecf02e",
"name": "Generate Variables For API1",
"type": "n8n-nodes-base.code",
"position": [
3376,
2496
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ef1b8e2d-6345-4196-8609-fcb10816af5e",
"name": "Get News Data1",
"type": "n8n-nodes-base.httpRequest",
"position": [
3968,
2496
],
"parameters": {},
"typeVersion": 4.1
},
{
"id": "e35f3b7e-83c6-4559-8383-45b934f3089a",
"name": "Split Out2",
"type": "n8n-nodes-base.splitOut",
"position": [
4848,
2496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "38c11fbe-2a1a-48eb-bd15-90e89e81ee39",
"name": "Limit1",
"type": "n8n-nodes-base.limit",
"position": [
5296,
2496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ab014517-ad46-4cd3-a020-f3559b750c44",
"name": "Aggregate2",
"type": "n8n-nodes-base.aggregate",
"position": [
5488,
2496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8480f155-8c25-4790-88b6-cb027a34b7ec",
"name": "Split Out3",
"type": "n8n-nodes-base.splitOut",
"position": [
3536,
2496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3bb1b65d-f4ca-41a3-b490-82aea72686c5",
"name": "Edit Fields3",
"type": "n8n-nodes-base.set",
"position": [
3760,
2496
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "1f0c515f-a873-4e6a-aba1-98e43cddd0dc",
"name": "Code1",
"type": "n8n-nodes-base.code",
"position": [
4640,
2496
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c84f014e-ef4c-4ab1-9e46-0a1ba87c95f3",
"name": "Edit Fields4",
"type": "n8n-nodes-base.set",
"position": [
5072,
2496
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2aa11b53-a730-41c4-8b03-7f467ba73264",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
3248,
2192
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "89f05ff7-aa8f-404b-bbc5-96289fc3effe",
"name": "Edit Fields5",
"type": "n8n-nodes-base.set",
"position": [
4784,
-400
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "e23f2ef4-bd3c-4ad5-8cbd-43e3305ac757",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
6288,
48
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e711c273-cb77-47df-acd6-61e412a87e72",
"name": "save order info",
"type": "n8n-nodes-base.postgresTool",
"position": [
6304,
240
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "bf4c5f32-c827-465a-9784-8967538093ce",
"name": "POST endpoints",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
6128,
240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "7a150f47-8f7a-42cd-8289-ba1ec58b832b",
"name": "GET endpoints",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
5984,
240
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "7ace5097-67aa-41a5-b0b8-d17f0ce23966",
"name": "Trader Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
5888,
-48
],
"parameters": {},
"typeVersion": 2
},
{
"id": "d7706650-3a00-4526-ad0e-8033dd70d1f5",
"name": "strategy agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
5056,
-48
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "0d201d53-4361-431b-8b80-b27aa592d3ed",
"name": "GET cash",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
5184,
224
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "0be1aad4-fb05-4aec-be9f-488ab1bd03d2",
"name": "Think1",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
5488,
192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "55c70679-e261-4e70-b9e5-6e2d2e06038b",
"name": "Calculator1",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
5584,
192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "95dbabc0-fa50-4128-8f30-c26411d84256",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
3472,
-576
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "987d0a72-1ca7-4980-8e57-15f07dae9f88",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
3792,
176
],
"parameters": {},
"typeVersion": 1
},
{
"id": "509fd9db-3b4c-4e09-8915-3390e2320e6d",
"name": "GET cash1",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
4000,
304
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "5a915595-09bd-40d2-aa02-b9b6ba11b42b",
"name": "Strategy Agent",
"type": "@n8n/n8n-nodes-langchain.agentTool",
"position": [
3888,
16
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "07a954f8-2cde-425f-a4b0-40a4759c7e52",
"name": "Think3",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
4128,
304
],
"parameters": {},
"typeVersion": 1
},
{
"id": "58d855db-c657-4727-882e-8d715d75a998",
"name": "OpenRouter Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
5824,
192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c5afcf43-7a4b-4c10-93ab-50969380fe69",
"name": "OpenRouter Chat Model3",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
4960,
208
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b8b4ff24-19c0-4c1b-aa69-7e586cf68385",
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"position": [
3712,
-576
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "9f1c6671-449d-406a-b2c1-e64f0221aaab",
"name": "Filter",
"type": "n8n-nodes-base.filter",
"position": [
3840,
-576
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ef6ac2c7-2e16-4d66-9bdd-80179782c6c0",
"name": "Send report",
"type": "n8n-nodes-base.gmail",
"position": [
4784,
-672
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "940e1d3d-07ca-4e6d-b53f-d754d1bb2031",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
4448,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c77bca96-fe13-47bf-955e-fcbd1ff740e0",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
3280,
624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0ca0adb2-351f-493f-b89d-0da1cbc1e281",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
3728,
2640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "570db4ea-fa8c-4d86-ba67-4427ac848e0b",
"name": "Sticky Note17",
"type": "n8n-nodes-base.stickyNote",
"position": [
4176,
1456
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bb745934-b4e3-4aec-8ac3-42a5d5d18a7f",
"name": "Sticky Note19",
"type": "n8n-nodes-base.stickyNote",
"position": [
3264,
1712
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7e5fb3c0-cb09-4551-be81-0e4aadd07039",
"name": "Sticky Note18",
"type": "n8n-nodes-base.stickyNote",
"position": [
3696,
-656
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3ee52a9a-9165-403f-85d7-7e4d00f2441d",
"name": "Trend + Technical Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
4848,
688
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "0d0cd24a-f5d8-4b72-aa4a-80ea67723dbc",
"name": "MAIN AGENT",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
4000,
-400
],
"parameters": {},
"typeVersion": 2
},
{
"id": "3bc3ef43-efc9-4a10-ae70-f2cf85670014",
"name": "Sticky Note20",
"type": "n8n-nodes-base.stickyNote",
"position": [
5312,
672
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "5397c448-72b7-46fb-bba4-8e3d444ddec7",
"name": "Sticky Note21",
"type": "n8n-nodes-base.stickyNote",
"position": [
3376,
1328
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "45ca0495-736a-466a-b21b-67e07fd5ddbf",
"name": "Sticky Note22",
"type": "n8n-nodes-base.stickyNote",
"position": [
3408,
2288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "35b07c50-719b-470e-a9fd-4b04c3aa0ec2",
"name": "Sticky Note23",
"type": "n8n-nodes-base.stickyNote",
"position": [
3264,
-736
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d70f0afd-9442-46ad-a2e1-f349bdedec3e",
"name": "Sticky Note24",
"type": "n8n-nodes-base.stickyNote",
"position": [
4528,
-752
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "10ea886f-71c9-4954-9686-9f733c803cdd",
"name": "Sticky Note25",
"type": "n8n-nodes-base.stickyNote",
"position": [
3296,
-64
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0c131c1b-3079-42b9-bdcf-810761958eee",
"name": "Sticky Note26",
"type": "n8n-nodes-base.stickyNote",
"position": [
5984,
192
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "eca24031-8e29-4283-a718-592817bab433",
"name": "current trades",
"type": "n8n-nodes-base.postgresTool",
"position": [
5360,
192
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "cb757e2b-6e1a-4549-88ba-bbde444d3d65",
"name": "current trades1",
"type": "n8n-nodes-base.postgresTool",
"position": [
4256,
304
],
"parameters": {},
"typeVersion": 2.6
},
{
"id": "15b0fff1-3fb8-4a84-84a7-4324ef45aa6d",
"name": "Grok 4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
3408,
-192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bc444494-b186-431e-b08b-e9e5a2a4ebdd",
"name": "Call trend + technical Agent",
"type": "@n8n/n8n-nodes-langchain.toolWorkflow",
"position": [
4416,
128
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "65ed8ac4-e122-4660-a7ee-7255769e7ff6",
"name": "Markdown to HTML",
"type": "n8n-nodes-base.markdown",
"position": [
4592,
-672
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f99c1f3d-edf5-4682-902d-e73fdcf21727",
"name": "Anthropic Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
5072,
224
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "c2ff3b7f-6e2b-44d8-bc5c-df77a70f7805",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
4128,
-2800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "590a77b2-8c06-4c73-afaf-a0ec0c02170b",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
4128,
-3120
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b2ffa16f-bbc0-4a9e-a995-f76ad820c6c0",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1552,
-736
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "840134d4-5abf-45f1-bb35-ec56154f9713",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
5792,
576
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "25972584-a17c-4aa3-ac46-54c1d6c1b64f",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
6096,
960
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "43c48684-b4de-4546-b2f5-cfdfb2d89482",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
5728,
-2800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4fc5e034-d2d4-42f9-aecd-ad5ed5e09cc2",
"name": "Sticky Note12",
"type": "n8n-nodes-base.stickyNote",
"position": [
2624,
-496
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "03f48cd1-1a0c-4a00-9675-c2a0f6f344b0",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
2704,
-2800
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "052228cc-ba57-4e54-aa2a-a0d30eddd391",
"name": "Sticky Note14",
"type": "n8n-nodes-base.stickyNote",
"position": [
3776,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Code": {
"main": [
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"Code1": {
"main": [
[
{
"node": "Split Out2",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Organizing Data",
"type": "main",
"index": 0
}
]
]
},
"Think": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"Filter": {
"main": [
[
{
"node": "MAIN AGENT",
"type": "main",
"index": 0
}
]
]
},
"Grok 4": {
"ai_languageModel": [
[
{
"node": "MAIN AGENT",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Limit1": {
"main": [
[
{
"node": "Aggregate2",
"type": "main",
"index": 0
}
]
]
},
"Think1": {
"ai_tool": [
[
{
"node": "strategy agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Think2": {
"ai_tool": [
[
{
"node": "Trend + Technical Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Think3": {
"ai_tool": [
[
{
"node": "Strategy Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Merge-2": {
"main": [
[
{
"node": "Warp as JSON for GPT",
"type": "main",
"index": 0
}
]
]
},
"ranking": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"sectors": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"GET cash": {
"ai_tool": [
[
{
"node": "strategy agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get MACD": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"GET cash1": {
"ai_tool": [
[
{
"node": "Strategy Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Aggregate1": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "Trader Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"MAIN AGENT": {
"main": [
[
{
"node": "Edit Fields5",
"type": "main",
"index": 0
},
{
"node": "Markdown to HTML",
"type": "main",
"index": 0
}
]
]
},
"Split Out2": {
"main": [
[
{
"node": "Edit Fields4",
"type": "main",
"index": 0
}
]
]
},
"Split Out3": {
"main": [
[
{
"node": "Edit Fields3",
"type": "main",
"index": 0
}
]
]
},
"industries": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator1": {
"ai_tool": [
[
{
"node": "strategy agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Get Chart URL",
"type": "main",
"index": 0
}
]
]
},
"Send report": {
"main": [
[]
]
},
"Edit Fields1": {
"main": [
[
{
"node": "Trend + Technical Agent",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields3": {
"main": [
[
{
"node": "Get News Data1",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields4": {
"main": [
[
{
"node": "Limit1",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields5": {
"main": [
[
{
"node": "strategy agent",
"type": "main",
"index": 0
}
]
]
},
"Set Variable": {
"main": [
[
{
"node": "Merge-2",
"type": "main",
"index": 0
}
]
]
},
"GET endpoints": {
"ai_tool": [
[
{
"node": "Trader Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Chart URL": {
"main": [
[
{
"node": "Download Chart",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request1": {
"main": [
[
{
"node": "Filter",
"type": "main",
"index": 0
}
]
]
},
"Download Chart": {
"main": [
[
{
"node": "First Technical Analysis",
"type": "main",
"index": 0
}
]
]
},
"Get News Data1": {
"main": [
[
{
"node": "Aggregate1",
"type": "main",
"index": 0
}
]
]
},
"POST endpoints": {
"ai_tool": [
[
{
"node": "Trader Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Strategy Agent": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"current trades": {
"ai_tool": [
[
{
"node": "strategy agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"strategy agent": {
"main": [
[
{
"node": "Trader Agent",
"type": "main",
"index": 0
}
]
]
},
"Organizing Data": {
"main": [
[
{
"node": "Merge-2",
"type": "main",
"index": 1
}
]
]
},
"Reranker Cohere": {
"ai_reranker": [
[
{
"node": "Supabase Vector Store1",
"type": "ai_reranker",
"index": 0
}
]
]
},
"current trades1": {
"ai_tool": [
[
{
"node": "Strategy Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"save order info": {
"ai_tool": [
[
{
"node": "Trader Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Markdown to HTML": {
"main": [
[
{
"node": "Send report",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "HTTP Request1",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI": {
"ai_embedding": [
[
{
"node": "Supabase Vector Store1",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Get Price History": {
"main": [
[
{
"node": "Calculate Support Resistance",
"type": "main",
"index": 0
},
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Supabase Vector Store",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Default Data Loader": {
"ai_document": [
[
{
"node": "Supabase Vector Store",
"type": "ai_document",
"index": 0
}
]
]
},
"Get Bollinger Bands": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "strategy agent",
"type": "ai_languageModel",
"index": 1
}
]
]
},
"Warp as JSON for GPT": {
"main": [
[
{
"node": "Set Final Response",
"type": "main",
"index": 0
}
]
]
},
"OpenRouter Chat Model": {
"ai_languageModel": [
[
{
"node": "Strategy Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Trends Analysis Tool1": {
"ai_tool": [
[
{
"node": "Trend + Technical Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenRouter Chat Model1": {
"ai_languageModel": [
[
{
"node": "Trader Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenRouter Chat Model2": {
"ai_languageModel": [
[
{
"node": "Trend + Technical Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenRouter Chat Model3": {
"ai_languageModel": [
[
{
"node": "strategy agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Supabase Vector Store1": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"First Technical Analysis": {
"main": [
[
{
"node": "Set Variable",
"type": "main",
"index": 0
}
]
]
},
"Technical Analysis Tool1": {
"ai_tool": [
[
{
"node": "Trend + Technical Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Generate Variables For API1": {
"main": [
[
{
"node": "Split Out3",
"type": "main",
"index": 0
}
]
]
},
"Calculate Support Resistance": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Call trend + technical Agent": {
"ai_tool": [
[
{
"node": "MAIN AGENT",
"type": "ai_tool",
"index": 0
}
]
]
},
"Set Stock Symbol and API Key": {
"main": [
[
{
"node": "Get Price History",
"type": "main",
"index": 0
},
{
"node": "Get Bollinger Bands",
"type": "main",
"index": 0
},
{
"node": "Get MACD",
"type": "main",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
How this works
This automation helps active traders make faster, more informed decisions by pulling live market data, running AI-driven technical analysis, and executing trades directly through Alpaca. It removes the need for constant manual chart reviews or delayed order placement, letting users focus on strategy rather than execution. The workflow connects market intelligence tools with Alpaca for seamless order handling once signals are confirmed.
Use it for routine intraday or swing setups where rules are clear and volume is moderate; avoid it for illiquid stocks or news-driven events that require human judgement. Variations include swapping the AI analysis for rule-based indicators or restricting trades to specific market hours only.
About this workflow
Supercharge your trading decisions with this end-to-end AI automation that connects market intelligence, technical analysis, and automated trade execution — all without manual intervention.
Source: https://n8n.io/workflows/7240/ — 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.
WooriFisa. Uses agent, httpRequest, documentDefaultDataLoader, vectorStorePinecone. Scheduled trigger; 86 nodes.
This workflow automates patient communication for medical clinics using the WhatsApp Business API. It supports appointment booking, rescheduling, service inquiries, follow-ups, and document submission
WooriFisa 최종. Uses memoryMongoDbChat, agent, httpRequest, documentDefaultDataLoader. Scheduled trigger; 68 nodes.
Ditch the endless scroll for AI trends. Meet Archi, your personal AI research assistant that hits you up once a week with everyone you need to know. 🧑🏽🔬
This workflow automates end-to-end e-commerce order processing from intake through fulfillment by orchestrating multiple AI-powered validation stages and external system integrations. Designed for e-c