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

# Send Discord Message

> Trigger dynamic Discord messages directly from your endpoint logic flow

The **Send Discord Message** action allows you to send a message to a Discord channel directly from your endpoint's flow using the Discord integration.

<Callout icon="puzzle">
  This action requires the **Discord Integration** to be configured in order to run. Your endpoint flow will ignore this block if the integration is not properly configured.
</Callout>

<Frame>
  <img src="https://mintcdn.com/avicenna-a10e7e50/f_FHjRP_f-doMydD/images/send-discord-message-block-hero.png?fit=max&auto=format&n=f_FHjRP_f-doMydD&q=85&s=979bdaeb3c6abba8432d6f72ec2ca5e0" alt="Screenshot of the Send Discord Message action block" width="941" height="374" data-path="images/send-discord-message-block-hero.png" />
</Frame>

***

### Channel ID

The **Channel ID** is the unique Discord ID for the channel you'd like to send the message to. The channel must be within the server connected to your Avicenna account. This may be static text or a variable.

<Info>To find the ID for a channel in Discord, you need Developer Mode enabled on your account. [Read here for full instructions.](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID)</Info>

### Message Content

The **message content** is the actual plaintext content you'd like the Discord message to contain.

<Frame>
  <img src="https://mintcdn.com/avicenna-a10e7e50/UGx30uGOWGMd3oX0/images/send-discord-message-demo-1.png?fit=max&auto=format&n=UGx30uGOWGMd3oX0&q=85&s=59658815b9572f1d6f138294df0af455" alt="Screenshot of a Discord message sent using the Send Discord Message action block" width="857" height="199" data-path="images/send-discord-message-demo-1.png" />
</Frame>
