UiPath Documentation
marketplace
latest
false
UiPath logo, featuring letters U and I in white

Marketplace user guide

Last updated Apr 1, 2026

Reply to message

Overview

The Reply To Message activity calls the Microsoft Graph ReplyToMessage API to send a reply (Body, BodyType, Importance, Subject) to a specified team (TeamId) channel (ChannelId) message (MessageId).

After sending the reply, the activity outputs the id of the reply (ReplyId) as a String that you can use as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on).

How it works

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Teams Scope activity to your project.
  3. Add an activity or run an external process that outputs a Team.Id value (for example, Get Teams) AND an activity or external process that outputs a Channel.Id value (for example, Get Channels).
  4. Add the Reply to Message activity inside the Microsoft Teams Scope activity.
  5. Enter values for the Channel and Message properties.
  6. Create and enter a String variable for your Output property.
  7. Run the activity.
    • Your input property values are sent to the ReplyToMessage API.

    • The API returns the String value to your output property variable.

      docs image

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

docs image

Common

DisplayName

The display name of the activity.

AttributesDetails
TypeString
RequiredYes
Default valueReply To Message
Allowed valuesEnter a String or String variable.
NotesN/A

Channel

TeamId

The Id of the Team object that contains the channel you want to send a reply message to.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesTo get the Team.Id value, use an external process or activity that includes the Team.Id value in its output (for example, Get Teams or external API call)
ChannelId

The Id of the Channel object that you want to send a reply message to.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesTo get the Channel.Id value, use an external process or activity that includes the Channel.Id value in its output (for example, Get Channels or external API call)

Message

Body

The message content that you to send.

AttributesDetails
TypeString
RequiredYes
Default valueEmpty
Allowed valuesEnter a String or String variable.
NotesEnter your value according to the BodyType value (BodyType.Text or BodyType.Html).
BodyType

The type of content that you want to send in your Body.

Attributes

Details

Type

BodyType

Required

No

Default value

Empty

Allowed values

Enter a BodyType or BodyType variable

Notes

Enter one of the following two accepted values:
  • BodyType.Text
  • BodyType.Html
Importance

The importance of the reply.

Attributes

Details

Type

ChatMessageImportance

Required

No

Default value

Empty

Allowed values

Enter a ChatMessageImportance or ChatMessageImportance variable.

Notes

Enter one of the following three accepted values:
  • ChatMessageImportance.Normal
  • ChatMessageImportance.High
  • ChatMessageImportance.Urgent
Subject

The subject of the reply.

AttributesDetails
TypeString
RequiredNo
Default valueEmpty
Allowed valuesEnter a String or String variable
NotesN/A

Misc

Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

AttributesDetails
TypeCheckbox
RequiredNo
Default valueNot Selected
Allowed valuesSelected or Not Selected
NotesN/A

Output

ReplyId

The id of the reply.

AttributesDetails
TypeString
RequiredNo (required if you plan to use the output data in subsequent activities)
Default valueEmpty
Allowed valuesEnter a String variable.
NotesThe variable you create for this property can be used as an input variable in subsequent activities (for example, Get Message Replies, Get Message, and so on).

Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the guides.

docs image

  • Overview
  • How it works
  • Properties
  • Common
  • Channel
  • Message
  • Misc
  • Output
  • Example

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated