{
  "openruna_format": "flow-graph-v1",
  "title": "0335_Filter_Telegram_Send_Triggered",
  "slug": "0335-filter-telegram-send-triggered",
  "source_filename": "0335_Filter_Telegram_Send_Triggered.json",
  "nodes": [
    {
      "id": "Keep only messages from a specific chat id",
      "name": "Keep only messages from a specific chat id",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Deactivate the marketing workflow",
      "name": "Deactivate the marketing workflow",
      "integration": "n8n",
      "kind": "action"
    },
    {
      "id": "Deactivate the sales workflow",
      "name": "Deactivate the sales workflow",
      "integration": "n8n",
      "kind": "action"
    },
    {
      "id": "Activate the marketing workflow",
      "name": "Activate the marketing workflow",
      "integration": "n8n",
      "kind": "action"
    },
    {
      "id": "Switch depending on content (activate)",
      "name": "Switch depending on content (activate)",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Receive commands from Telegram",
      "name": "Receive commands from Telegram",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "Activate the sales workflow",
      "name": "Activate the sales workflow",
      "integration": "n8n",
      "kind": "action"
    },
    {
      "id": "Switch depending on command",
      "name": "Switch depending on command",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Switch depending on content (deactivate)",
      "name": "Switch depending on content (deactivate)",
      "integration": "switch",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Switch depending on command",
      "to": "Switch depending on content (deactivate)",
      "label": "/stop"
    },
    {
      "from": "Switch depending on command",
      "to": "Switch depending on content (activate)",
      "label": "/start"
    },
    {
      "from": "Receive commands from Telegram",
      "to": "Keep only messages from a specific chat id"
    },
    {
      "from": "Switch depending on content (activate)",
      "to": "Activate the marketing workflow",
      "label": "usdc"
    },
    {
      "from": "Switch depending on content (activate)",
      "to": "Activate the sales workflow",
      "label": "hsuite"
    },
    {
      "from": "Switch depending on content (deactivate)",
      "to": "Deactivate the marketing workflow",
      "label": "marketing"
    },
    {
      "from": "Switch depending on content (deactivate)",
      "to": "Deactivate the sales workflow",
      "label": "sales"
    },
    {
      "from": "Keep only messages from a specific chat id",
      "to": "Switch depending on command"
    }
  ]
}