AutomationFlowsGeneral › Example — Capital.com Price-alert Trigger

Example — Capital.com Price-alert Trigger

Example — Capital.com price-alert trigger. Uses n8n-nodes-capitalcom. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesN8N Nodes Capitalcom
General Trigger: Event Nodes: 3 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": "Example \u2014 Capital.com price-alert trigger",
  "nodes": [
    {
      "id": "n1",
      "name": "Price Stream",
      "type": "n8n-nodes-capitalcom.capitalComTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ],
      "parameters": {
        "stream": "prices",
        "epics": "EURUSD"
      },
      "credentials": {
        "capitalComApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "n2",
      "name": "Price Above Threshold?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.3,
      "position": [
        480,
        300
      ],
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict",
            "version": 2
          },
          "conditions": [
            {
              "id": "c1",
              "leftValue": "={{ $json.bid }}",
              "rightValue": 1.1,
              "operator": {
                "type": "number",
                "operation": "gt"
              }
            }
          ],
          "combinator": "and"
        }
      }
    },
    {
      "id": "n3",
      "name": "Alert (add your notification)",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        720,
        220
      ],
      "parameters": {}
    }
  ],
  "connections": {
    "Price Stream": {
      "main": [
        [
          {
            "node": "Price Above Threshold?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Price Above Threshold?": {
      "main": [
        [
          {
            "node": "Alert (add your notification)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

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

Example — Capital.com price-alert trigger. Uses n8n-nodes-capitalcom. Event-driven trigger; 3 nodes.

Source: https://github.com/SimonTarara62/capitalcom-n8n/blob/main/examples/price-alert-trigger.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

Example — Capital.com market data fetch. Uses n8n-nodes-capitalcom. Event-driven trigger; 3 nodes.

N8N Nodes Capitalcom
General

Example — Capital.com guarded position (Dry Run). Uses n8n-nodes-capitalcom. Event-driven trigger; 2 nodes.

N8N Nodes Capitalcom
General

Report Examples Demo. Event-driven trigger; 7 nodes.

General

Check if a Twitch Stream is Live. Uses graphql. Event-driven trigger; 7 nodes.

GraphQL
General

Automatically prune n8n execution history. Uses n8n. Event-driven trigger; 7 nodes.

n8n