Make the quota check a deliberate tap
Tap to check whether Kraken.io has quota available for the next image task.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Optimize Image by URL
Tool to optimize an image from a public url. use when you need to compress, resize, or convert an externally hosted image. returns result immediately if 'wait' is true.
Why this helps
A quick request can start image work without a clear moment to check available processing quota.
- Give the team a deliberate way to request a quota check.
- Avoid unnecessary navigation between chat and account status.
- Make the check easy to repeat when needed.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Kraken.io to Notis once in the portal.
- 2Create an automation with a plain-language instruction to check Kraken.io status and quota when the designated image-work button is tapped.
- 3Choose Callback Query Received as the trigger and select a channel for run reports.
- 4Test by tapping the relevant inline keyboard button on a bot message.
Questions about this workflow
What starts this automation?
A user tapping an inline keyboard button attached to one of the bot's messages creates the callback query trigger.
Can it process the image after checking quota?
This workflow runs the status check only. Image optimization uses a separate Kraken.io action.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Kraken io. A trigger fires from one place; an action lands in another.
Telegram triggers
Kraken io actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Check Kraken.io User Status
Tool to retrieve current kraken.io account status and quota usage. use when you need to verify plan limits and remaining quota before processing images.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Optimize Image by URL
Tool to optimize an image from a public url. use when you need to compress, resize, or convert an externally hosted image. returns result immediately if 'wait' is true.
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.
Preserve Image Metadata
Tool to preserve exif and other metadata during kraken.io image optimization. use when you need to maintain metadata while compressing images.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Sandbox Image Upload
Tool to upload and optimize images in sandbox mode. use when you want to test the kraken.io api without consuming credits.
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 Kraken io, 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 Kraken io.