Integration reference

Telegram Bot Trigger and Action reference

Start from Telegram Bot API updates and send messages through a customer-owned bot.

29 Triggers1 ActionsManifests: Trigger v1 · Action v1

Authentication

Store the bot token issued by BotFather in a connected Telegram account.

  • Trigger account type: api_key; reconnect by replace_credentials.
  • Action connection type: api_key; available modes: Connected Telegram bot.

Create or reuse the account from a Trigger or Action dialog, or manage it under Settings → Connected accounts. See Authentication and permissions for scopes and access diagnostics, or Connected accounts for reuse, reconnect, revocation, and credential rotation.

Scopes and permissions

The Trigger manifest does not declare a fixed base OAuth scope list. Installation access, API credentials, or the selected event configuration can still control available resources.

View 1 provider permissions or credential requirements

The bot must be allowed to send messages to the target chat

Operation-specific requirements appear in the tables below. Custom event selections can add scopes dynamically, so the current Trigger or Action dialog remains authoritative for the exact consent request.

Use Telegram Bot as a Trigger

The current provider manifest contains 29 available Trigger definitions. Representative definitions include:

  • Any Telegram Update
  • New Message
  • Edited Message
  • New Channel Post
  • New Callback Query
  • Chat Member Changed
View all 29 available Trigger definitions
TriggerManifest keyDeliveryAdditional scopes
Any Telegram Updatetelegram.any_event.instantinstantNone declared
Custom Telegram Updatestelegram.custom_webhook_events.instantinstantNone declared
New Messagetelegram.message.instantinstantNone declared
Edited Messagetelegram.edited_message.instantinstantNone declared
New Channel Posttelegram.channel_post.instantinstantNone declared
Edited Channel Posttelegram.edited_channel_post.instantinstantNone declared
Business Connection Changedtelegram.business_connection.instantinstantNone declared
New Business Messagetelegram.business_message.instantinstantNone declared
Edited Business Messagetelegram.edited_business_message.instantinstantNone declared
Deleted Business Messagestelegram.deleted_business_messages.instantinstantNone declared
New Guest Messagetelegram.guest_message.instantinstantNone declared
Message Reaction Changedtelegram.message_reaction.instantinstantNone declared
Message Reaction Count Changedtelegram.message_reaction_count.instantinstantNone declared
New Inline Querytelegram.inline_query.instantinstantNone declared
Inline Result Chosentelegram.chosen_inline_result.instantinstantNone declared
New Callback Querytelegram.callback_query.instantinstantNone declared
New Shipping Querytelegram.shipping_query.instantinstantNone declared
New Pre-checkout Querytelegram.pre_checkout_query.instantinstantNone declared
Paid Media Purchasedtelegram.purchased_paid_media.instantinstantNone declared
Poll Updatedtelegram.poll.instantinstantNone declared
Poll Answer Updatedtelegram.poll_answer.instantinstantNone declared
Bot Membership Changedtelegram.my_chat_member.instantinstantNone declared
Chat Member Changedtelegram.chat_member.instantinstantNone declared
New Chat Join Requesttelegram.chat_join_request.instantinstantNone declared
Chat Boost Updatedtelegram.chat_boost.instantinstantNone declared
Chat Boost Removedtelegram.removed_chat_boost.instantinstantNone declared
Managed Bot Changedtelegram.managed_bot.instantinstantNone declared
Subscription Changedtelegram.subscription.instantinstantNone declared
Message Generation Stoppedtelegram.stopped_message_generation.instantinstantNone declared

Choose the narrowest event definition that fits the Workflow. Configure provider-specific resource and event filters in the Source dialog before adding broader Workflow Filters.

Use Telegram Bot Actions

The current Action manifest contains 1 operations. Representative Actions include:

  • Send Message
View all 1 available Action definitions
ActionManifest keyAccess and authManifest rate limit
Send Messagetelegram.send_messageThe bot must be allowed to send messages to the target chat
FastHook-managed account
1/second

The Action editor reads its required permissions, fields, remote resource pickers, output schema, and rate limit from the provider manifest. Available fields can change with the selected operation and authentication mode.

Build a Workflow

  1. Create a Source using a Telegram Bot Trigger definition.
  2. Create a Workflow with that Source as its Trigger.
  3. Add the required Telegram Bot Action and select the connected account.
  4. Map Trigger or earlier-Step data into the Action fields with the field picker.
  5. Add a Filter, Paths, Delay, or Transformation when the route needs it.
  6. Activate the Workflow, produce a controlled event, and verify the run in Audit and in Telegram Bot.

Troubleshooting Telegram Bot

The account is missing or cannot be selected
Confirm the active FastHook team, provider, account status, and authentication mode. A disabled or revoked account cannot execute an Action.
A resource picker is empty
Verify that the connected provider identity can access the resource itself. OAuth consent does not add workspace, repository, channel, drive, project, base, or record permissions.
The editor asks for additional scopes
Reconnect the same account from the affected Trigger or Action so FastHook can request its current manifest scopes. Then reopen the editor and select the resource again.
An active Workflow returns 401, 403, or a permission error
Compare the selected operation’s access requirements below with the account recorded in Audit. Check provider-side membership and object access before repeating the Action.
The provider returns 429 or a temporary 5xx
Inspect the Step attempt and retryability in Audit. FastHook can retry temporary failures, but provider quotas and idempotency rules still apply.

Provider-specific checks

  • Keep the bot token secret and rotate it with BotFather when compromised.
  • Filter bot-originated messages or commands when a response could create an event loop.

Next