Keep document event delivery settings current
When a document event endpoint changes, make the request in Telegram and let Notis update the Affinda subscription details, reducing setup drift.
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
Update RESTHook Subscription
Tool to update an existing resthook subscription. use after confirming the subscription identifier to modify its url, event, or activation status.
Why this helps
Webhook changes can be easy to defer, leaving document event notifications pointed at outdated settings.
- Handle endpoint changes while they are top of mind.
- Reduce stale document notification settings.
- Keep a clear chat request tied to a configuration update.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Affinda to Notis once.
- 2Create an automation or ask Notis to update Affinda RESTHook subscriptions from explicit Telegram requests.
- 3Give one plain-language instruction for identifying the subscription and applying the stated supported change.
- 4Select New Message Received as the trigger and choose where run reports should appear.
- 5Test with a known subscription and verify its updated settings in Affinda.
Questions about this workflow
Does the new endpoint need to be ready first?
Yes. Confirm the destination is ready before requesting an update so events can be delivered correctly.
Can this create a subscription?
This workflow updates an existing subscription. Creating a new one is a separate action.
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.