Telegram Post to Group

automation · by zorilla · came with Zorilla

Puts new posts from one X account about a subject you choose into a Telegram group. Needs an X key named x_key and a Telegram key named telegram_key.

ScheduleEvery 10 minutesSearch XRecent posts matching a searc…Only the first timeOnce per id, everSend a Telegram messagetelegram.send

4 steps, drawn from the file

What this can do

Read out of the file, not written by the author.

contacts api.telegram.orgcontacts api.x.com

Uses your saved keys named telegram_keyx_key. It binds to your own keys of those names. No key travels in the file.

4 steps, started by Schedule.

Contents
{
  "name": "Telegram Post to Group",
  "nodes": [
    {
      "id": "clock",
      "type": "core.schedule",
      "params": {
        "mode": "every",
        "every": 10,
        "unit": "minutes"
      },
      "position": {
        "x": 40,
        "y": 170
      }
    },
    {
      "id": "posts",
      "type": "x.search",
      "params": {
        "credential": "x_key",
        "query": "from:VitalikButerin (rollup OR L2)",
        "limit": 10
      },
      "position": {
        "x": 310,
        "y": 170
      }
    },
    {
      "id": "fresh",
      "type": "logic.once",
      "params": {
        "key": "{{ $json.id }}"
      },
      "position": {
        "x": 580,
        "y": 170
      }
    },
    {
      "id": "tell",
      "type": "telegram.send",
      "params": {
        "credential": "telegram_key",
        "chatId": "",
        "text": "New post:\n\n{{ $json.text }}"
      },
      "position": {
        "x": 850,
        "y": 170
      }
    }
  ],
  "edges": [
    {
      "from": "clock",
      "fromPort": "main",
      "to": "posts",
      "toPort": "main"
    },
    {
      "from": "posts",
      "fromPort": "main",
      "to": "fresh",
      "toPort": "main"
    },
    {
      "from": "fresh",
      "fromPort": "main",
      "to": "tell",
      "toPort": "main"
    }
  ]
}
Back

Download it, then in Zorilla press add one from a file. You get a screen listing what it contacts and which keys it asks for before anything is saved.