Refresh a content lookup when a Telegram request changes
When someone corrects a title or identifier, rerun the lookup against the updated message.
Trigger
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Action
GraphQL Content API Query
Tool to execute a GraphQL query against a specified space and environment. Use when fetching Contentful content via GraphQL after obtaining or providing a valid token.
Why this helps
A corrected request can leave an earlier lookup attached to the wrong item unless someone remembers to repeat it.
- Use the revised request as the new lookup context.
- Reduce manual repetition after corrections.
- Keep the follow-up aligned with the latest message.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Contentful graphql to Notis once in the portal.
- 2Tell Notis to rerun a Contentful lookup when a message is edited with a changed content request.
- 3Select Message Edited as the trigger and choose a channel for run reports.
- 4Edit a test message from one content name to another and confirm the refreshed result.
Questions about this workflow
Will it rerun for every edit?
The event triggers on edits the bot can see; use a clear prompt describing the content requests it should handle.
Can it change Contentful?
No. This workflow uses a GraphQL query to fetch content.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Contentful graphql. A trigger fires from one place; an action lands in another.
Telegram triggers
Contentful graphql actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get CMA Token
Tool to retrieve a Contentful Management API (CMA) access token. Use when making CMA calls to ensure valid authorization.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
GraphQL Content API Persisted Query
Tool to execute a persisted GraphQL query via its SHA256 hash. Use after registering a query hash to run cached queries by hash. On first call include full query text; thereafter invoke with only hash and variables.
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.
GraphQL Content API Query
Tool to execute a GraphQL query against a specified space and environment. Use when fetching Contentful content via GraphQL after obtaining or providing a valid token.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
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 Contentful graphql, 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 Contentful graphql.