Turn a channel usage concern into an audit lookup
A cost or latency concern posted in Telegram can prompt an Apipie ai query-history retrieval for the team to inspect.
Trigger
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Action
Get query history
Tool to retrieve historic api usage logs including latency, token counts, costs, and source ip. use after authenticating to analyze past queries for cost management, performance monitoring, or auditing.
Why this helps
Usage concerns can lose momentum when the person who noticed them has to separately find and request the relevant logs.
- Give a channel concern a concrete investigation step.
- Retrieve history with latency, tokens, costs, and source IP.
- Help the team resume an audit with its evidence gathered.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Apipie ai to Notis once in the portal.
- 2Create an automation in the portal or explain the channel audit request to Notis.
- 3Write one plain-language instruction to retrieve query history when a new post reports an API cost or latency concern.
- 4Choose Telegram New Channel Post as the trigger and select a channel for run reports.
- 5Test with a relevant example post in a channel where the bot is an administrator.
Questions about this workflow
What information is included in query history?
Apipie ai can retrieve historic logs with latency, token counts, costs, and source IP.
Does the workflow diagnose the cause?
It retrieves the history to support an investigation; the team reviews the evidence.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Apipie ai. A trigger fires from one place; an action lands in another.
Telegram triggers
Apipie ai actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Delete Vectors
Tool to delete an entire vector collection or specific vectors. use when you need to remove vector data after identifying your target collection or vectors.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Fetch model restrictions
Tool to retrieve a list of country restrictions for models. use when you need to verify allowed deployment countries before final model selection.
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Get query history
Tool to retrieve historic api usage logs including latency, token counts, costs, and source ip. use after authenticating to analyze past queries for cost management, performance monitoring, or auditing.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
List AI Models
Tool to fetch a list of available ai models. use when you need up-to-date model listings and want to filter by. model type, subtype, provider, or retrieve specialized lists like voices or restrictions.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Connect any two apps with Notis in the middle.
Telegram and Apipie ai, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Apipie ai.