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

# Discord Template

The Discord template editor in Siren allows you to create and manage messages for sending to Discord channels or users. You can customize your message with text, variables, and file attachments.

<img src="https://mintcdn.com/siren/7IpRt_YcaXDKVAtZ/docs/Images/Templates/TemplateEdit/discordTemplate.PNG?fit=max&auto=format&n=7IpRt_YcaXDKVAtZ&q=85&s=662243e8848e1a531fe85cf22c14062a" alt="Discord Template" width="1756" height="763" data-path="docs/Images/Templates/TemplateEdit/discordTemplate.PNG" />

## Message Content

<Steps>
  <Step title="Compose Message">
    Enter your message content in the 'Message Content' field. This is the main text that will be sent to the Discord channel or user.
  </Step>

  <Step title="Add Variables">
    Use the **'Insert Variable'** button to add dynamic content to your message. Variables will be replaced with actual values when the message is sent.
  </Step>
</Steps>

## Adding Attachments

Click the **'Add Attachments'** button to include files with your message. For each attachment, you will need to provide:

1. **File Name/Placeholder**: The name of the file or a placeholder
2. **Type**: Select the file type from the dropdown (PDF, JPEG, DOCX, or CSV)
3. **Content**: The file content as a base64-encoded variable

<Note>
  The file content must be a variable containing a base64-encoded value of the file.
</Note>

## Variable Format

Use the following format for variables in your message:

```
${workflow.input.data.variable_name}
```
