Check quota before processing shared images
Know whether Kraken.io has room for the image work sparked by a Telegram message.
Trigger
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.
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 shared image link can start a task before you know whether there is quota to finish it.
- Check available quota before starting image work.
- Keep image requests from becoming an unexpected dead end.
- See the status check in the chosen run-report channel.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Kraken.io to Notis once in the portal.
- 2In Automations, create an automation with a plain-language instruction to check Kraken.io status and quota when a Telegram message contains an image URL.
- 3Choose New Message Received as the trigger and select where Notis should report runs.
- 4Test it by sending the bot one message containing an image URL.
Questions about this workflow
Does this workflow optimize the image?
No. It checks Kraken.io account status and quota; image optimization is a separate action.
What Telegram messages can start it?
New Message Received covers messages the bot receives in private chats, groups, and supergroups. The bot needs Privacy Mode disabled to receive every group message.
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.