# Update Status

> `UiPath.Slack.Activities.Channels.UpdateStatus`

`UiPath.Slack.Activities.Channels.UpdateStatus`

## Overview

The **UpdateStatus** activity uses the Slack [users.profile.set](https://api.slack.com/methods/users.profile.set) API to update your status (**Status**) and emoji (**Emoji**). You have the option to set your status for a specific amount of time (**Clear After**).

## 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](https://docs.uipath.com/activities/other/latest/legacy-integrations/slack-setup) steps.
2. Add the [Slack Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/slack-scope) activity to your project.
3. Add the **Update Status** activity inside the **Slack Scope** activity.
4. Enter values for the [Input](https://docs.uipath.com/activities/other/latest/legacy-integrations/slack-update-status#update-status) properties.
5. Run the activity.
   * Your input property values are sent to the [users.profile.set](https://api.slack.com/methods/users.profile.set) API.

     ![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-180292-382eec17-055dd1f2.webp)

## In the Body of the Activity

* **Emoji** - The standard, unicode emoji that you want to apply to your profile. Any emoji code in string format, such as `":smile:"`. This activity only supports unicode emojis and does not support Slack's custom emoji list.
* **Status** - The status message that you want to apply to your profile. Enter a `String` or `String` variable.
* **ClearAfter** - The date that you want your **Emoji** and/or **Status** values to be cleared from your profile. Enter a `DateTime` or `DateTime` variable. To set it to never expire, choose DateTime.MaxValue

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

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

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable (*UiPath.BAF.Models.ResponseStatus*). The `ResponseStatus` object includes three properties that you can use in other activities.
  + **Success** - `Boolean` - Specifies whether the API request was successful.
  + **ErrorCode** - `String` - The response error if the API request is unsuccessful (**Success**=*False*).
  + **Message** - `String` - The error message.

## 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](https://docs.uipath.com/activities/other/latest/legacy-integrations/slack-quickstarts) guides.

![docs image](https://dev-assets.cms.uipath.com/assets/images/activities/legacy-integrations-docs-image-179552-2130b218-43fe47a6.webp)
