Trigger

Workflow entry point and event payload

The Trigger block is the entry point of a workflow. It defines when automation starts and exposes event data for other blocks to use.

How the trigger works

Monitoring

Continuously watches Telegram events according to your conditions

Launch

When the event occurs, the workflow runs immediately—for example, when the account receives a new message.

Data

Saves the event fields you need into variables—message text, sender ID, chat ID, and more.

Available triggers

New message

Runs when a new message arrives in any connected chat

Fields provided:

Chat (chat)
Message ID (message_id)
Message text (text)
Sender ID (from_user_id)
Sender username (from_username)
Chat type (chat_type)
Media (media)
Reply to message (reply_to_message)

Using the data

Everything from the trigger is stored in variables and can be referenced in other workflow blocks.

Example in AI Text:

Prompt: "Reply to user {{name}} about their message: {{text}}"

Example in Action:

Send message to chat (@... or ID or chat name): {{chat}}
Text: "Hi, {{name}}!"

Important notes

  • Every workflow must start with a Trigger block or a Schedule block
  • Triggers only work with connected Telegram accounts