Skip to content
Notis

Make usage history easier to revisit

Tap a Telegram button to start retrieving Apipie ai query history when it is time to check costs, latency, or token use.

Trigger

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

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

Recurring reviews are easy to skip when finding the right logs becomes a task of its own.

  • Lower the effort of starting a recurring review.
  • Retrieve the usage details relevant to cost and performance checks.
  • Make a consistent review action easy to find in Telegram.

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 tell Notis to handle usage-review button taps.
  • 3Write one plain-language instruction to retrieve query history when the designated review button is tapped.
  • 4Choose Telegram Callback Query Received as the trigger and select a channel for run reports.
  • 5Test by tapping the review button on a bot message.

Questions about this workflow

What does the lookup contain?

The history includes API usage logs such as latency, token counts, costs, and source IP.

Can it run on a schedule too?

This setup runs from the Telegram button tap; a separate scheduled workflow can be configured if needed.

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.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

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.

TriggerInstant

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.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

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.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

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.