Subscribe

UiPath Activities

The UiPath Activities Guide

Overview

The Reply activity uses the Slack chat.postMessage API to reply to a specific message (Message).

After sending the reply, the activity returns its properties in Message object (Reply) that you can use as input property variables in subsequent activities (e.g. Get Replies, Message.Text in Write Line, etc.).

How it works

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

  1. Complete the Setup steps.
  2. Add the Slack Scope activity to your project.
  3. Complete one of the following two options (A or B):
    A. Add the Search activity inside the Slack Scope activity.
    B. Add the Get Messages activity inside the Slack Scope activity.
  4. Add the Reply activity after the Search or Get Messages activity.
  5. Enter values for the Input properties.
  6. Create and enter a Message variable for your Output property.
  7. Run the activity.

Properties

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

Common

DisplayName

The display name of the activity.

Attributes

Details

Type

String

Required

Yes

Default value

Reply

Allowed values

Enter a String or String variable.

Notes

N/A


Input

File

The path to a local file that you want to attach in your reply.

Attributes

Details

Type

String

Required

Yes (if the Text property is empty)

Default value

Empty

Allowed values

Enter a String or String variable.

Notes

Either the File or Text property is required. You can enter values in both properties.


Message

The message that you want to reply to.

Attributes

Details

Type

Message

Uipath.Slack.Models.Message

Required

Yes

Default value

Empty

Allowed values

Enter a Message variable.

Notes

To enter your Message variable, use the Messages output property variable from either the Search activity or Get Messages activities.
When using the Messages output property, be sure to specify which item in the array that you want to use (e.g., slackMessages(0))


Text

The body of text that you want to send in your reply.

Attributes

Details

Type

String

Required

Yes (if the File property is empty)

Default value

Empty

Allowed values

Enter a String or String variable.

Notes

Either the File or Text property is required. You can enter values in both properties.


Output

Reply

Your reply returned as a Message object.

Attributes

Details

Type

Message
UiPath.Slack.Models.Message

Required

No (recommended if you plan to use the output data in subsequent activities)

Default value

Empty

Allowed values

Enter a Message variable.

Notes

If you plan to use the For Each activity to process the array output, select UiPath.Slack.Models.Message as the TypeArgument.

Updated 27 days ago


Reply


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.