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 : |
Awesome! this article link help to resolved my customer problem
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.