{
  "name": "Palanor unusual move: chart it and follow it",
  "nodes": [
    {
      "id": "d4f0c6c2-1d0e-4c55-9b1a-000000000001",
      "name": "When a series moves unusually",
      "type": "n8n-nodes-palanor.palanorTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ],
      "webhookId": "7d2fac4f-9e3f-4ca0-9c99-0000000000d4",
      "parameters": {
        "event": "signal.unusual_move",
        "signals": "",
        "checkSignatures": true
      },
      "credentials": {
        "palanorApi": {
          "id": "",
          "name": "Palanor API"
        }
      }
    },
    {
      "id": "d4f0c6c2-1d0e-4c55-9b1a-000000000002",
      "name": "Chart the series",
      "type": "n8n-nodes-palanor.palanor",
      "typeVersion": 1,
      "position": [
        260,
        -80
      ],
      "parameters": {
        "resource": "chart",
        "operation": "create",
        "signals": "={{ ($json.data.what_happened.data?.signals || []).slice(0, 4).join(',') }}",
        "from": "={{ $now.minus({ years: 5 }).toFormat('yyyy-MM-dd') }}"
      },
      "credentials": {
        "palanorApi": {
          "id": "",
          "name": "Palanor API"
        }
      }
    },
    {
      "id": "d4f0c6c2-1d0e-4c55-9b1a-000000000003",
      "name": "Follow it",
      "type": "n8n-nodes-palanor.palanor",
      "typeVersion": 1,
      "position": [
        260,
        80
      ],
      "parameters": {
        "resource": "signal",
        "operation": "follow",
        "slug": "={{ $json.data.what_happened.data?.signals?.[0] }}"
      },
      "credentials": {
        "palanorApi": {
          "id": "",
          "name": "Palanor API"
        }
      }
    }
  ],
  "connections": {
    "When a series moves unusually": {
      "main": [
        [
          {
            "node": "Chart the series",
            "type": "main",
            "index": 0
          },
          {
            "node": "Follow it",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false,
    "palanor": "Needs the n8n-nodes-palanor community node and a Pro or Enterprise key. Add a second workflow on 'Chart rendered' to receive the images when the chart is ready."
  },
  "pinData": {}
}
