AutomationFlowsGeneral › Multi-symbol Loop Processing

Multi-symbol Loop Processing

Multi-Symbol Loop Processing. Uses n8n-nodes-twelve-data. Event-driven trigger; 7 nodes.

Event trigger★★★★☆ complexity7 nodesN8N Nodes Twelve Data
General Trigger: Event Nodes: 7 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": "Multi-Symbol Loop Processing",
  "nodes": [
    {
      "parameters": {},
      "id": "manual-trigger",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "=[\n  { \"symbol\": \"AAPL\", \"name\": \"Apple\" },\n  { \"symbol\": \"MSFT\", \"name\": \"Microsoft\" },\n  { \"symbol\": \"GOOGL\", \"name\": \"Google\" },\n  { \"symbol\": \"TSLA\", \"name\": \"Tesla\" },\n  { \"symbol\": \"AMZN\", \"name\": \"Amazon\" }\n]",
        "options": {}
      },
      "id": "set-symbols",
      "name": "Define Symbol List",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "split-items",
      "name": "Split Into Items",
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "resource": "coreData",
        "operation": "getQuote",
        "symbol": "={{ $json.symbol }}"
      },
      "id": "twelve-data-quote",
      "name": "Get Quote for Symbol",
      "type": "n8n-nodes-twelve-data.twelveData",
      "typeVersion": 1,
      "position": [
        850,
        300
      ],
      "credentials": {
        "twelveDataApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "amount": 0.5,
        "unit": "seconds"
      },
      "id": "wait",
      "name": "Rate Limit Delay",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1,
      "position": [
        1050,
        300
      ]
    },
    {
      "parameters": {
        "aggregate": "aggregateAllItemData",
        "options": {}
      },
      "id": "aggregate",
      "name": "Aggregate Results",
      "type": "n8n-nodes-base.aggregate",
      "typeVersion": 1,
      "position": [
        1250,
        300
      ]
    },
    {
      "parameters": {
        "mode": "raw",
        "jsonOutput": "={\n  \"portfolio_summary\": {\n    \"total_symbols\": {{ $json.data.length }},\n    \"symbols\": {{ JSON.stringify($json.data.map(item => item.symbol)) }},\n    \"timestamp\": \"{{ new Date().toISOString() }}\"\n  },\n  \"quotes\": {{ JSON.stringify($json.data) }}\n}",
        "options": {}
      },
      "id": "format-output",
      "name": "Format Portfolio Summary",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [
        1450,
        300
      ]
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Define Symbol List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define Symbol List": {
      "main": [
        [
          {
            "node": "Split Into Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Into Items": {
      "main": [
        [],
        [
          {
            "node": "Aggregate Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Quote for Symbol": {
      "main": [
        [
          {
            "node": "Rate Limit Delay",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rate Limit Delay": {
      "main": [
        [
          {
            "node": "Split Into Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Results": {
      "main": [
        [
          {
            "node": "Format Portfolio Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "1",
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "id": "multi-symbol-loop",
  "tags": [
    {
      "name": "Twelve Data",
      "id": "twelve-data"
    },
    {
      "name": "Loop",
      "id": "loop"
    },
    {
      "name": "Example",
      "id": "example"
    }
  ]
}

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

Multi-Symbol Loop Processing. Uses n8n-nodes-twelve-data. Event-driven trigger; 7 nodes.

Source: https://github.com/hallengray/n8n-nodes-twelvedata/blob/4eb6aac561f98b349825e505860772179cb854ed/examples/multi-symbol-loop.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Reagendamiento. Uses executeWorkflowTrigger, redis, n8n-nodes-evolution-api, dataTable. Event-driven trigger; 73 nodes.

Execute Workflow Trigger, Redis, N8N Nodes Evolution Api +2
General

Blotato. Uses googleSheets, @blotato/n8n-nodes-blotato. Event-driven trigger; 65 nodes.

Google Sheets, @Blotato/N8N Nodes Blotato
General

This template is a hands-on, practical exam designed to help you master n8n Expressions—the key to accessing and manipulating data in your workflows.

Stop And Error
General

This template is a hands-on, practical exam designed to test your understanding of the fundamental JSON data types. It's the perfect way to solidify your knowledge after learning the basics.

Stop And Error
General

Agendamiento. Uses n8n-nodes-evolution-api, redis, dataTable, executeWorkflowTrigger. Event-driven trigger; 60 nodes.

N8N Nodes Evolution Api, Redis, Data Table +2