# Get Channel By Name

**Introduction**&#x20;

This step locates a channel in a guild based on its name and type.

**Configuration**

1. **Guild**: Specify the guild to search in. This is a required field.
2. **Name**: Enter the name of the channel to find. Name length should be between 1 and 32 characters. This is a required field.
3. **Type**: Select the type of channel to find. Options include Text, Voice, Forum, Announcement, and Stage. This is a required field.
4. **Category**: (Optional) Choose a category to only search within that category.

**Outputs**

* **Channel**: The channel that matches the search criteria. This is a nullable variable, meaning it may not return a result if no matching channel is found.

**Usage**&#x20;

Effective for locating specific channels within a guild, especially useful in large or complex server setups.

**Permissions**

* Requires the "View Channel(s)" permission to search for channels.


---

# Agent Instructions: 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:

```
GET https://docs.flexy.bot/modules/discord/steps/get-channel-by-name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
