{
  "name": "Lulubanana: new outlier on your channel → Telegram",
  "nodes": [
    {
      "name": "How it works",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -40,
        -340
      ],
      "parameters": {
        "content": "## Lulubanana: your channel's outliers → Telegram\n1. Create a **Header Auth** credential: Name `Authorization`, Value `Bearer lb_...` (your key from Lulubanana Settings → API) and pick it in every Lulubanana node.\n2. Activate this workflow, copy the **Production URL** of the \"Lulubanana event\" node into \"Your Production URL\" and run \"Subscribe (run once)\" one time.\n3. Every `channel.outlier` event now arrives here, signed (X-Lulubanana-Signature-V2) and retried. Remove it with DELETE /hooks/{id}.\n4. Pick your Telegram bot credential and your chat id in \"Message me on Telegram\". (Lulubanana can also message you on Telegram itself: Settings → Integrations.)",
        "width": 420,
        "height": 300
      },
      "id": "7f6cf23b-fbe4-4cbd-a4c1-702b50357dd4"
    },
    {
      "name": "Lulubanana event",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "lulubanana-channel-outlier",
        "responseMode": "onReceived",
        "options": {}
      },
      "id": "62252f7e-72fe-4dcc-a813-7d2a80a9c59d"
    },
    {
      "name": "Message me on Telegram",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1.2,
      "position": [
        260,
        0
      ],
      "credentials": {
        "telegramApi": {
          "id": "REPLACE_WITH_YOUR_CREDENTIAL",
          "name": "Telegram account"
        }
      },
      "parameters": {
        "chatId": "PASTE your chat id",
        "text": "={{ $json.body.data.title }}\n{{ $json.body.data.text }}\n{{ $json.body.data.data.url }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "id": "0c144858-5de1-468c-a9cf-5d435a5b9c2b"
    },
    {
      "name": "Subscribe (run once)",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        420
      ],
      "parameters": {},
      "id": "ca0f0327-e929-4f48-ae8f-ea004ca821de"
    },
    {
      "name": "Your Production URL",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        220,
        420
      ],
      "parameters": {
        "mode": "manual",
        "assignments": {
          "assignments": [
            {
              "id": "f693aa2b-6cbb-426e-ae3b-d254a9435b85",
              "name": "target_url",
              "type": "string",
              "value": "PASTE the Production URL of the \"Lulubanana event\" node here"
            }
          ]
        },
        "options": {}
      },
      "id": "43ef87c7-c14b-4748-ab96-be550dcc0b46"
    },
    {
      "name": "Subscribe to channel.outlier",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        440,
        420
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "REPLACE_WITH_YOUR_CREDENTIAL",
          "name": "Lulubanana API key (Header Auth: Authorization = Bearer lb_...)"
        }
      },
      "parameters": {
        "method": "POST",
        "url": "https://lulubanana.com/api/v3/hooks",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ target_url: $json.target_url, event: 'channel.outlier', source: 'n8n' }) }}",
        "options": {}
      },
      "id": "b53404ef-ca81-4b07-a43c-9e29fee0fadc"
    }
  ],
  "connections": {
    "Lulubanana event": {
      "main": [
        [
          {
            "node": "Message me on Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Subscribe (run once)": {
      "main": [
        [
          {
            "node": "Your Production URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Your Production URL": {
      "main": [
        [
          {
            "node": "Subscribe to channel.outlier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false,
    "description": "When one of your own posts reaches 3× your median views, you get a Telegram message.",
    "source": "https://lulubanana.com/developers/automation-zapier-make-n8n/"
  },
  "tags": [
    {
      "name": "lulubanana"
    },
    {
      "name": "channel"
    },
    {
      "name": "telegram"
    }
  ]
}
