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.

Overview

The Search activity uses the Slack search.all API to find the messages and files that match your search parameters (Query). The search parameters follow the same modifiers that you use when searching in the Slack application (e.g., "in:#channel-name, in:@user.name, keyword"). For more information, see Search in Slack in the Slack help documentation.

After performing the search, the activity returns the matching Message objects (FirstMessage and Messages) and SlackFile (FirstFile and Files) objects that you can use as input variables in subsequent activities (e.g., Download File).

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 Search activity inside the Slack Scope activity.
  4. Enter values for the Input properties.
  5. Create and enter the following variables for your Output properties.
    • SlackFile and SlackFile[]
    • Message and Message[]
  6. Run the activity.
    • Your input property values are sent to the search.all API.
    • The API returns the SlackFile, SlackFile[], Message, and Message[] values to your output property variables.

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

Search

Allowed values

Enter a String or String variable.

Notes

N/A


Input

Query

Your search parameters (e.g., channel, user, keywords).

Attributes
Details

Type

String

Required

Yes

Default value

Empty

Allowed values

Enter a String or String variable.

Notes

  • Enter your query using the same search modifiers that you use in the Slack application (e.g., "in:#slack_quickstart New hires" would search for "New hires" (in messages and files)
    in the slack-quickstart channel).
  • For more information, see Search in Slack in the Slack help documentation.

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


Options

MaxResults

The maximum number of results that you want returned in the Message and SlackFile arrays.

Attributes
Details

Type

Int32

Required

No

Default value

20 (not displayed)

Allowed values

Enter a Int32 or Int32 variable.

Notes

N/A


SortBy

Specifies how you want the results sorted when they're returned.

Attributes
Details

Type

Int32

Required

N/A (default selection)

Default value

Relevance

Allowed values

Select from three options:

  • Relevance
  • Newest
  • Oldest

Notes

  • The three options are sorted accordingly:
    • Relevance - The messages and files that contain content that most matche your query.
    • Newest - The most recent messages and files that contain content matching your query.
    • Oldest - The oldest messages and files that contain content matching your query.

Output

Files

The files that contain content matching your Query value.

Attributes
Details

Type

File[]

UiPath.Slack.Models.SlackFile

Required

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

Default value

Empty

Allowed values

Enter a File[] variable.

Notes

  • If no files are found, an empty array is returned.
  • If you plan to use the For Each activity to process the array output, select _UiPath.Slack.Models.SlackFile as the TypeArgument (see example image below).

FirstFile

The first file found (according to your SortBy value) that contains content matching your Query value.

Attributes
Details

Type

File

UiPath.Slack.Models.SlackFile

Required

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

Default value

Empty

Allowed values

Enter a File variable.

Notes

  • If no file is found, a null value is returned.

FirstMessage

The first message found (according to your SortBy value) that contains content matching your Query value.

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 no message is found, a null value is returned.
  • The Message object contains file information as well. You can download files using the Message object by getting its File property (e.g. item.File)

Messages

The messages that contain content matching your Query value.

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 no messages are found, an empty array is returned.
  • The Message object contains file information as well. You can download files using the Message object by getting its File property (e.g. item.File(0))
  • 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 3 months ago


Search


Suggested Edits are limited on API Reference Pages

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