> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sendSimpleNotification

> Sends a message to a Slack workspace. This operation takes a few inputs that will build a simple message along with a Slack Account Code and sends a m

Sends a message to a Slack workspace. This operation takes a few inputs that will build a simple message along with a Slack Account Code and sends a message to the channel based on the input given. 

> [!NOTE]
>
> All Slack operations require a [Slack Messaging Account](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-plugin-guides/flexdeploy-slack-plugin-guide.md).

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Slack Account</td><td>`FDSLACK_INP_CLOUD_ACCT_CODE`</td><td>Yes</td><td>[Slack account code](https://docs.flexagon.com/flexdeploy-11-0-documentation/flexdeploy-plugin-guides/flexdeploy-slack-plugin-guide.md) from Topology->Integrations->Messaging </td></tr><tr><td>Channel Name or Id</td><td>`FDSLACK_INP_CHANNEL`</td><td>Yes</td><td>Name or Id of channel that the notification will be sent. For example, "random". Use user channel Id to send direct messages (String)</td></tr><tr><td>Icon Emoji</td><td>`FDSLACK_INP_ICON_EMOJI`</td><td>No</td><td>The emoji that will be used as the icon for the bot. An example is ":chart\_with\_upwards\_trend:" . A list of some of the emojis can be found [here](https://www.webfx.com/tools/emoji-cheat-sheet/). If using this Send as Authed User input must be false. (String)</td></tr><tr><td>Icon URL</td><td>`FDSLACK_INP_ICON_URL`</td><td>No</td><td>The URL for the image that will be used as the icon for the bot. An example is " [https://s3-us-west-2.amazonaws.com/slack-files2/bot\_icons/2019-12-27/874826668114\_48.png](https://s3-us-west-2.amazonaws.com/slack-files2/bot_icons/2019-12-27/874826668114_48.png)". If using this Send as Authed User input must be false. (String)</td></tr><tr><td>Message Text</td><td>`FDSLACK_INP_TEXT`</td><td>Yes</td><td>Text for the message that will be sent. (String)</td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Description**</th></tr><tr><td>`FDSLACK_OUT_MESSAGE_TS`</td><td>Resulting Slack Message Id (TS id) of the newly created message. This can be used start or reply to threads.</td></tr></tbody></table>

# Artifacts

This operation delegates the consume artifacts decision to the workflow developer.

# Endpoint Selection

This operation delegates the selection to the workflow developer to determine.

# Endpoint Execution 

This operations delegates the execution to the workflow developer to decide

# Special Considerations

Below is an example. This will send a message to a channel called flexdeploy-demo.

![image-20240604-112933.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596421522.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=72d23388cbd0ce2e3b2d22eef951643b)

Below is the final result in the flexdeploy-demo channel.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596421525.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=a4369b7cc4b9df643ec1ddf8fc189857)
