> For the complete documentation index, see [llms.txt](https://software-help-docs.gitbook.io/knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://software-help-docs.gitbook.io/knowledge-base/software-guide/workflows/premium-triggers-and-actions/slack-premium-action/send-public-channel-message.md).

# Send Public Channel message

If the event is **Send Public Channel Message** , you will have to select which Public Channel you want to send messages to.

### Choose a Public Channel

Select the desired channel to send the message.

![](https://t8631005.p.clickup-attachments.com/t8631005/189dc812-a315-48ab-87f4-04cfcc404ebc/Screenshot%202023-02-14%20at%204.52.10%20PM.png)

Please note that Slack allows only limited number of Public Channels to be fetched at once. So if you don’t see the desired channel by typing out the name, please hit the load more button. This will keep searching until you have the required channel found. If the channel is in the bottom of the list you might have to hit the load more button a couple of times.

This is only for the workspaces having more than 2000 channels.

![](https://t8631005.p.clickup-attachments.com/t8631005/c8a46489-bed3-4983-b0e6-d72330cb8d4d/Screen%20Shot%202023-03-02%20at%2013.59.56.png)

###

### Message Content

Insert Message to send to the Public Channel. For more formatting options [check here](https://api.slack.com/reference/surfaces/formatting)

![](https://t8631005.p.clickup-attachments.com/t8631005/85d1cbcd-5d98-4ef9-8534-3f0301b8db5d/Screen%20Shot%202023-03-02%20at%2014.06.01.png)

You can use the extensive custom variable picker to send out information about a contact, or any of the CRM related information.

![](https://t8631005.p.clickup-attachments.com/t8631005/ffc6345b-a9c6-4686-a737-5d4245fdd9af/Screen%20Shot%202023-03-02%20at%2014.08.29.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://software-help-docs.gitbook.io/knowledge-base/software-guide/workflows/premium-triggers-and-actions/slack-premium-action/send-public-channel-message.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
