Skip to main content

Outgoing Telegram Messages

Outgoing Telegram Messages runs when a Telegram message is sent to a contact from Whautomate, by a team member or by an automation.

Conditions​

Conditions are optional. Click Add Condition, then pick a Field, an Operator and a value. Choose All (AND) or Any (OR) under Condition Type to decide whether every condition or just one must match.

ConditionOperatorsValues
Outgoing Messageincludes any, does not include all, is a valid date, is not a valid date, matches regex pattern, does not match regex pattern, equals, not equalsKeywords, a regex pattern or exact text
Message Typeis part of all, is part of any, is not part of allText, Template, Document, Image, Video, Audio, Order, Interactive, Sticker
Message Senderequals, not equalsHuman Agent, Automation Bot
Telegram Chat Typeis part of all, is part of any, is not part of allPrivate Chat, Channel, Group, Super Group
Message sent timeis between, is on, is before, is after, is less than X period ago (past), is more than X period ago (past)A time of day, weekdays or a period
Contact Groupis part of all, is part of any, is not part of allYour contact groups
Contact Tagsincludes any, does not include all, is part of all, is part of any, is not part of allYour contact tags
Contact Stageequals, not equalsSubscriber, Lead, Engaged, Marketing qualified lead (MQL), Sales qualified lead (SQL), Opportunity, Follow-up Required, Customer, Evangelist, Other, Lost, Inactive

Use Message Sender to tell replies from a Human Agent apart from Automation Bot messages, and Telegram Chat Type to limit the rule to private chats or groups.

Actions​

Click Add Action and choose from Select Action. Actions run in order; use the arrows to reorder them. To delay an action, click Add wait time (or Add wait & Schedule time on template and email actions). Wait times count from the trigger event, not from the previous action.

ActionWhat it doesWait time
Notify Staffs via WhatsAppSends a WhatsApp template message to the team members you choose.Minutes to months
Add the Contact to GroupAdds the contact to a contact group, which you can check in later conditions.Minutes to months
Remove the Contact from GroupRemoves the contact from a contact group, for example so a rule does not run twice.Minutes to months
Add Contact TagsAdds tags to the contact.Minutes to months
Remove Contact TagsRemoves tags from the contact.Minutes to months
Update Contact StageMoves the contact to a stage, such as Lead or Customer.Minutes to months
Assign chat to unassigned queueMoves the chat to the unassigned queue so a team member can pick it up (bot-to-human handover).Up to 1 day
Auto Close ConversationCloses the conversation, so automations answer again the next time the person writes.Minutes to months
Assign chat to StaffAssigns the chat to the team member you choose.Up to 1 day
Auto-Assign Chat to Staff - Round RobinAssigns the chat to team members in turn (round robin).Up to 1 day
Clear AI Conversation HistoryClears the AI conversation history, so the next AI reply starts without earlier context.Up to 1 day
Send Telegram Text MessageSends a Telegram text reply.Up to 1 day
Send Telegram Template MessageSends a Telegram message with buttons.Up to 1 day
send Customer Satisfaction Survey (CSAT)Sends a customer satisfaction (CSAT) survey.Up to 1 day
send Telegram mediaSends an image, video or file on Telegram.Up to 1 day
send Telegram audioSends an audio message on Telegram.Up to 1 day
Smart Follow-upSends a follow-up if the contact has not replied within the wait time. Cancelled automatically when they reply.Up to 1 day
Smart AI Follow-upWrites and sends a follow-up with AI, based on the conversation, if the contact has not replied within the wait time. Cancelled automatically when they reply.Up to 1 day
Webhooks by WhautomateSends the event data to your own URL (webhook).Minutes to months
Add Contact NotesAdds a note to the contact.Minutes to months

Example​

Close the chat after the bot says goodbye

  1. Create a rule with the Outgoing Telegram Messages trigger.
  2. Add the conditions Message Sender equals Automation Bot and Outgoing Message includes any goodbye.
  3. Add the action Auto Close Conversation.

Good to know​

  • Messages sent by your automations also fire outgoing triggers. Add Message Sender equals Human Agent if the rule should only react to your team, or a rule that sends a message can keep triggering itself. See loop protection.
  • While a team member has the conversation Open, message rules do not run, so the bot does not talk over a person. Turn on Override Human Agent in the trigger section to run this rule anyway (for example for an opt-out keyword).