AutomationFlowsSlack & Telegram › Trustfield Program Events → N8n

Trustfield Program Events → N8n

TrustField Program Events → n8n. Uses telegram. Webhook trigger; 3 nodes.

Webhook trigger★★★★☆ complexity3 nodesTelegram
Slack & Telegram Trigger: Webhook 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": "TrustField Program Events \u2192 n8n",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "trustfield-program-events",
        "responseMode": "onReceived"
      },
      "id": "wh",
      "name": "Program Events Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "const b = $input.first().json.body || $input.first().json;\nreturn [{ json: { chain: b.chain || 'program_events', event_type: b.event_type, registration_id: b.registration_id, source: b.source, payload: b.payload || {} } }];"
      },
      "id": "norm",
      "name": "Normalize",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        480,
        300
      ]
    },
    {
      "parameters": {
        "chatId": "={{$env.TELEGRAM_CHANNEL_ID}}",
        "text": "=TF program_event {{$json.event_type}} reg={{$json.registration_id}}"
      },
      "id": "tg",
      "name": "Optional Telegram",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        720,
        300
      ]
    }
  ],
  "connections": {
    "Program Events Webhook": {
      "main": [
        [
          {
            "node": "Normalize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize": {
      "main": [
        [
          {
            "node": "Optional Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "meta": {
    "description": "Point N8N_PROGRAM_EVENTS_WEBHOOK_URL or POST /api/operator/webhooks at this webhook URL."
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

TrustField Program Events → n8n. Uses telegram. Webhook trigger; 3 nodes.

Source: https://gist.github.com/kazemnezhadsina144-dot/7c4826fbe2e149d75abc832b5a0b3d0f — original creator credit. Request a take-down →

More Slack & Telegram workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Slack & Telegram

WF_UNIFIED_LEGAL_AUTOMATION. Uses googleSheets, httpRequest, telegram, telegramTrigger. Webhook trigger; 53 nodes.

Google Sheets, HTTP Request, Telegram +1
Slack & Telegram

qualiopi. Uses airtable, telegram, emailSend, httpRequest. Webhook trigger; 51 nodes.

Airtable, Telegram, Email Send +3
Slack & Telegram

Admin Handler. Uses telegram, postgres. Webhook trigger; 50 nodes.

Telegram, Postgres
Slack & Telegram

Admin Handler. Uses telegram, postgres. Webhook trigger; 50 nodes.

Telegram, Postgres
Slack & Telegram

PsyCardv2. Uses executeCommand, telegram, readBinaryFile, googleDrive. Webhook trigger; 41 nodes.

Execute Command, Telegram, Read Binary File +2