Delete Google Cloud Vision products with a Telegram button tap
Deleting a product should be deliberate but not painful. When it is time to remove one, you tap a confirm button in Telegram and Notis permanently deletes the Vision product and its reference images.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
Delete Product
Tool to permanently delete a Product and its reference images. Use after confirming the product's resource name.
Why this helps
Retiring a product is risky in the console, where one wrong click can hit the wrong resource, so cleanup gets avoided and the catalog bloats.
- Confirm destructive actions with a clear, single tap
- Remove retired products without console anxiety
- Keep the deletion decision separate from the manual work
Setup
Build it in a few focused steps.
- 1Connect Telegram and Google Cloud Vision to Notis once in the portal.
- 2Ask Notis for your portal link and open Automations, then New Automation.
- 3Write the prompt: when I tap the confirm button, delete the referenced Vision product and its images.
- 4Select the Telegram callback query trigger and pick a channel for run reports.
- 5Test by tapping a confirm button on a throwaway product and verifying deletion.
Questions about this workflow
Is the deletion permanent?
Yes. Deleting a Vision product removes it and its reference images permanently, which is why the button confirmation matters.
How does the button know the product?
The button is attached to a Notis message referencing the product, so tapping it confirms that exact item.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Google cloud vision. A trigger fires from one place; an action lands in another.
Telegram triggers
Google cloud vision actions
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.
Create Vision Product
Tool to create and return a new Product resource. Use when you need to register a product in a specific project/location after preparing product details.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Create ReferenceImage
Tool to create a ReferenceImage under a product. Use when adding a new image to a product for detection.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Delete Product
Tool to permanently delete a Product and its reference images. Use after confirming the product's resource name.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Get Product
Tool to get information associated with a Product. Use when you have the product resource name and need its details.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Get Product Set
Tool to get a ProductSet. Use when you need metadata details of an existing ProductSet by its full resource name. Use after obtaining the resource name.
Import Product Sets
Tool to asynchronously import reference images into ProductSets from a CSV in GCS. Use when you need to bulk import images into product sets via a Cloud Storage CSV.
List IndexEndpoints
Tool to list IndexEndpoints in a project and location. Use when you need to retrieve existing IndexEndpoints and handle pagination.
List Locations
Tool to list available Vision AI service locations for a project. Use when you need to discover supported regions before making region-specific API calls.
Connect any two apps with Notis in the middle.
Not just Telegram and Google cloud vision. Any combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Google cloud vision.