Description | This article describes the steps on how to configure automation stitch with webhook action using Telegram. |
Scope | FortiGate. |
Solution | Create a Telegram Bot and get the BOT TOKEN. Create a group chat and add the bot created as a member. Take note of the CHAT ID. Setting up Automation Stitch with Webhook Action.
Configuration via CLI: edit "TELEGRAM_WEBHOOK" set action-type webhook set protocol https set uri "api.telegram.org/bot<BOT TOKEN> /sendMessage" set http-body "{\"chat_id\":\"<CHAT_ID>\",\"text\":\"%%msg%%\"}" set port 443 config http-headers edit 1 set key "Content-Type" set value "application/json" next end next end
Testing Automation Stitch with Webhook using Telegram:
Result : |
Comments
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Awesome! this article link help to resolved my customer problem