# Get Message

**Introduction**&#x20;

The "Get Message" step in FlexyBot allows you to retrieve a specific message from a channel using its unique identifier. This step is particularly useful for interactions that require referencing or acting upon a particular message.

**Configuration**

1. **Channel**: Select the channel from which the message will be retrieved. This channel should be where the message originally resides. This is a required field.
2. **Message ID**: Input the unique identifier (ID) of the message you want to retrieve. The ID must correspond to a message within the selected channel. This is a required field.

**Outputs**

* **Message**: The message that matches the provided ID. This output includes all information associated with the message, such as content, author, and timestamp. The output will be empty if no matching message is found.

**Usage**

* Ideal for automations that need to reference specific messages, such as for message moderation, triggering follow-up actions based on past messages, or retrieving message details for logging purposes.

**Permissions**

* Requires "View Channel" and "Read Message History" permissions to access the specified channel and message.


---

# 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-message.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.
