Skip to content
Notis

Answer Telegram button callbacks with AgentQL results

Close the loop when a button action needs a quick response. Notis can use an AgentQL result to send a concise answer to a Telegram callback query.

Trigger

Webhook received

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

Action

Answer Callback Query

Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.

Why this helps

A Telegram button can feel unresponsive when the callback is not acknowledged promptly or with useful status.

  • Give users a timely response to a button action.
  • Use website evidence to make the confirmation informative.
  • Reduce unclear or repeated button interactions.

Setup

Build it in a few focused steps.

  • 1Connect AgentQL and Telegram once in Notis.
  • 2Create an automation in the portal or tell Notis what to automate from any channel.
  • 3In one instruction, describe the AgentQL check and ask Notis to answer an accessible callback query with a concise, evidence-based status.
  • 4Choose a webhook trigger and select where Notis should send run reports.
  • 5Test with one real callback query and verify the response fits the Telegram notification.

Questions about this workflow

What kind of Telegram update can this answer?

It answers callback queries sent from inline keyboards, displaying a notification or alert to the user.

Can AgentQL create the callback query?

No. The callback query must already be available to the connected Telegram bot; AgentQL supplies research context only.

What starts the automation?

A Notis webhook starts it when the relevant request is sent to the workflow endpoint.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Agentql to Telegram. A trigger fires from one place; an action lands in another.

Agentql triggers

Telegram actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Answer Callback Query

Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.

ActionInstant

Webhook trigger

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

TriggerInstant

Delete Message

Delete a message, including service messages, with certain limitations.

ActionInstant

Edit Message

Edit text messages sent by the bot.

ActionInstant

Export Chat Invite Link

Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.

ActionInstant

Forward Message

Forward messages of any kind. service messages can't be forwarded.

ActionInstant

Get Chat Info

Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).

ActionInstant

Get Chat Administrators

Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.

ActionInstant

Get Chat History

Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.

ActionInstant

Connect any two apps with Notis in the middle.

Agentql and Telegram, 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 Telegram.