Clear a known upload mistake from Affinda
When the wrong file reaches Affinda, make a clear removal request in Telegram so the cleanup does not linger as another open loop.
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
Delete Document
Tool to delete a specific document by its id. use when you need to remove a document that is incorrect or no longer needed, after confirming the document id.
Why this helps
An incorrect upload can remain in the workspace because deleting it means pausing to find the record and complete a separate cleanup step.
- Handle a known upload mistake while it is fresh.
- Reduce clutter from incorrect documents.
- Avoid carrying cleanup as a separate reminder.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Affinda through the Notis portal once.
- 2Create an automation or ask Notis to remove explicitly identified incorrect Affinda documents from Telegram requests.
- 3Give one plain-language instruction that requires a clear document identifier and explicit deletion intent.
- 4Select New Message Received as the trigger and choose the run-report channel.
- 5Test the instruction with a safe, known example and verify which document is selected.
Questions about this workflow
What should a removal request include?
It should clearly identify the document and explicitly state that it should be removed.
Can this undo a deletion?
No. This action deletes a document. Confirm the exact target before using a deletion request.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Affinda. A trigger fires from one place; an action lands in another.
Telegram triggers
Affinda actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Batch Update Annotations
Tool to update multiple annotations in one request. use when you need to modify parsed values or other fields across many annotations at once.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Collection
Tool to create a new collection. use after you have a valid workspace id and want to group documents by a specific extractor within that workspace.
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 Document
Tool to upload a new document for parsing. use when you have the document file or a public url and need to extract structured data immediately.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
Create Organization
Tool to create a new organization. use when you have a unique organization name and want to group resources under it.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Create RESTHook Subscription
Tool to create a new resthook subscription. use after confirming your webhook endpoint is ready to receive document event notifications.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Create Tag
Tool to create a new tag. use when you need to label documents in a specific workspace.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
Create Validation Result
Tool to create a validation result. use when recording validation outcomes for a document after parsing.
Create Workspace
Tool to create a new workspace. use when you need to programmatically create a workspace container within an organization.
Connect any two apps with Notis in the middle.
Telegram and Affinda, 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 Affinda.