Send API Reports To Telegram

OpenAItelegram_bot_api

Schedule daily API health checks to monitor endpoints and send a summary report directly to a Telegram chat using an AI agent to ensure uptime.

API MonitoringTelegram BotHealth CheckDeveloper Tools

This workflow regularly monitors a set of API endpoints by making HTTP GET requests to each one. It compiles a daily report summarizing which endpoints are working properly and which have errors, sending this report directly to a Telegram chat.

It executes the following sequence:

  1. Triggers every day at a scheduled time (e.g., 9 AM UTC).
  2. Defines a predefined list of API endpoints to check.
  3. Evaluates each endpoint's health using an AI agent.
  4. Sends a formatted summary report to a designated Telegram chat.

What you need

  1. A Needle account to run the workflow.
  2. Access to the Telegram Bot API with a valid bot token.
  3. A Telegram chat ID (group or individual) where the bot has permission to send messages.

How the flow works

StepComponentDescription
1Scheduled TriggerStarts the workflow automatically every day at 9 AM UTC.
2Code NodeSets up the list of API endpoints with their names and target URLs.
3AI AgentUses an AI model equipped with an HTTP request tool to call each endpoint, check response status codes, and produce a text summary report.
4Telegram Bot APISends the daily API health report as a text message to the specified Telegram chat.

Output

Users receive a neatly formatted daily message in Telegram showing how many API endpoints succeeded and failed, including a detailed breakdown of each endpoint's status code or error.

Notes

  1. Make sure your Telegram bot has been started or added to the target chat to send messages successfully.
  2. You can customize the list of endpoints in the code step to match your specific APIs.
  3. Adjust the schedule trigger if you prefer a different check time.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .