Get a Contentful reference with a Telegram button
Tap the button in your Telegram flow and bring a frequently needed content reference into the chat.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
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
Repeated reference requests create small but frequent interruptions for founders and teammates.
- Make a common content lookup a single tap.
- Reduce repeated typing for stable reference requests.
- Return the stored reference in the chat that initiated it.
Setup
Build it in a few focused steps.
- 1Connect Telegram and Contentful graphql to Notis once in the portal.
- 2Tell Notis in plain language what a button tap should retrieve from Contentful.
- 3Register a persisted GraphQL query for the reference and include its query text on the first call.
- 4Pick Callback Query Received, select a report channel, and test the button with one real reference.
Questions about this workflow
Does every button need a separate automation?
Set up the trigger and prompt around the button request you want Notis to handle; the automation interprets the request in plain language.
Will this update the reference?
No. The Contentful action retrieves content through a persisted query.
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.