UiPath Integrations

The UiPath Integrations Guide

Welcome to the UiPath Integrations guide. You will find comprehensive guides and documentation to help you start working with UiPath Integrations, as well as support if you get stuck.

In order to download the solutions mentioned here please visit the official UiPath Go! Marketplace here.

*Note that only integrations built in-house at UiPath are detailed below. For a complete list of UiPath's technology partners, see here.

Send Message

Overview

The Send Message activity uses the Slack chat.postMessage API (among others) to send a message (Text) to a specific channel or direct/group message (Conversation).

After sending the reply, the activity returns its properties in Message object (Message) 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. Add the Reply activity inside the Slack Scope activity.
  4. Enter values for the Input properties.
  5. Create and enter a Message variable for your Output property.
  6. Run the activity.
    • Your input property values are sent to the chat.postMessage API.
    • The API returns the Message value to your output property variable.

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

Conversation

The conversation that you want to send a message to. A conversation can be a specific channel or direct messages between one or more users.

Attributes
Details

Type

String or drop-down list

Required

Yes

Default value

Empty

Allowed values

Enter a valid conversation name String or use the drop-down list to select a conversation from your workspace.

Notes

  • Before you can select a conversation, the Slack Scope must be connected to the workspace. Connecting to the workspace is done by clicking the Connect button in the Slack Scope activity. After the connection is established, this button changes to Refresh.
  • The conversations included in the drop-down list are those that are available in the connected workspace only.
  • Direct messages between multiple users can be formatted "mpdm-<senderName>--<recipient1Name>--<recipient2Name>".

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.

Text

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

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.

Misc

Private

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

Attributes
Details

Type

Checkbox

Required

No

Default value

Not Selected

Allowed values

Selected or Not Selected

Notes

N/A


Output

Message

Your sent message 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 (see example image below).

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 Quickstart guides.

Updated about a month ago


Send Message


Suggested Edits are limited on API Reference Pages

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