Skip to main content

Reply To Message

AutomatR.MicrosoftTeams.Activities.ReplyToMessage

The "Reply To Message" activity in AutomatR's Microsoft Teams package facilitates the automation of responding to messages within a Microsoft Teams channel. This activity allows you to add a response to a conversation thread in Teams.

Properties

NameDescription
Input
Channel IDSpecifies the unique identifier (ID) of the channel where the message is located. String variables containing the channel ID.
Team IDSpecifies the unique identifier (ID) of the team to which the channel belongs. String variables containing the team ID.
Message IDSpecifies the unique identifier (ID) of the message to which you want to reply. String variables containing the message ID.
Message ReplySpecifies the text of the reply message you want to add to the conversation thread. String variables containing the reply message.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Reply To Message" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs a boolean value indicating whether the reply message was sent successfully (true) or encountered any errors (false). Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Reply To Message" activity onto the workflow.
  2. Configure the properties by specifying the team ID, channel ID, message ID, and the text of the reply message.
  3. Optionally, configure the delay.
  4. Execute the workflow to add a reply to the specified message within Microsoft Teams.

Example: Consider an example where the "Reply To Message" activity is used to respond to a message in a Teams channel:

Reply To Message:
Delay: 2
Team ID: "abcd1234"
Channel ID: "efgh5678"
Message ID: "ijkl9012"
Message Reply: "Thank you for your message!"
Result: isReplySuccessful

In this example, the activity waits for 2 seconds before executing, adds a reply to the message with the ID "ijkl9012" in the channel with the ID "efgh5678" within the team with the ID "abcd1234." The result of the operation (success or failure) is stored in the Boolean variable "isReplySuccessful" for further handling in the workflow.