Bring approved Contentful copy into Telegram
Ask for the version you already approved, and get its saved wording back where you are working.
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
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.
Why this helps
When several drafts look alike, finding the approved version takes attention away from the task at hand.
- Find reusable wording with a short chat request.
- Reduce the chance of copying from an outdated draft.
- Keep reference copy close to the conversation where it is needed.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Contentful graphql to Notis once in the portal.
- 2Ask Notis to retrieve approved copy from the matching Contentful entries when requested in Telegram.
- 3Choose a persisted Content API query action and register its query hash with the query text on first use.
- 4Select New Message Received as the trigger, choose a report channel, and test with a known approved item.
Questions about this workflow
What does the persisted query do?
It runs a registered GraphQL query by hash, using the query text when first registered and the hash for later calls.
Can it tell whether copy is approved?
It can retrieve approval details only if those details are represented in the queried Contentful 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.