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

# Discord

> Post a message to a Discord channel through a bot whenever a meeting is booked or changes.

## What it does

A Discord bot posts a message to a channel you choose. By default it includes the meeting name, the attendee's name and email, the time, and the meeting link.

**Action:** Send a message

## Use cases

* **Community calls:** announce each new 1:1 or office-hours booking in your community's staff channel.
* **Coaching or tutoring teams:** keep coaches up to date in a private channel.
* **Starting-soon pings:** use **When the event starts** to post "Session is live" with the meeting link.

## Before you start

* You need the **Manage Server** permission on the Discord server so you can add the bot.
* You need the **Channel ID**. To get it, turn on Developer Mode in Discord (**User Settings → Advanced → Developer Mode**), then right-click the channel and choose **Copy Channel ID**.

## Set it up

**1. Add the step**

In your workflow, choose a trigger, then add the action **Run a connected app action**. ([Full walkthrough](https://help.lunacal.ai/workflow-apps/overview.md#how-to-set-it-up))

**2. Connect Discord**

Find **Discord** in the app list and click **Connect**. Choose your server and authorize the bot.

**3. Fill in the fields**

| Field | Required | What to enter |
| - | - | - |
| **Channel ID** | Yes | The number you copied, for example `112233445566778899` |
| **Message** | Yes | Already filled in with the meeting, attendee, time, and link. Edit it as you like. |

**4. Save**

Save the window and the workflow.

## Example

**Trigger:** When an event is booked

```text theme={null}
📅 {ATTENDEE_NAME} booked {EVENT_NAME}
When: {EVENT_TIME}
Link: {MEETING_LINK}
```

## Cancellations and reschedules

Messages aren't edited after they're sent. Add separate workflows with the **If the event is canceled** or **If the event is rescheduled** trigger to announce changes.

## Tips

* Make sure the bot can see the channel and has the **Send Messages** permission there.
* Use the channel ID, not the channel name.

***

New to external apps? Start with the [External Apps overview](https://help.lunacal.ai/workflow-apps/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.