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

# Discord

> Discord lets you work with user profiles, servers, OAuth details, and app entitlements via your connected account.

Use Discord when a workflow needs your account details, server membership, or app identity data. It can look up users, list your servers, and inspect OAuth or entitlement state.

## Configuration

| Option | Required | Description |
| - | - | - |
| Name | No | Label for the step in the workflow canvas. |
| Authentication | Yes | The connected Discord account to use for this step. |
| Action | Yes | The Discord action to perform (for example Get My User, Get User, List My Guilds, Get My Guild Member). |
| Arguments | Yes | Per-action form fields generated from the action's schema. Each text field has an **Insert Variable** button for injecting `{{placeholder}}` values. A **Raw JSON** tab is available for advanced usage. |
| When the step fails | No | Controls whether the workflow should **Terminate Workflow** or **Continue** if this step fails. |

Before you configure this step, connect Discord in **Integrations** for your workspace using the sign-in flow. If no active connection is available, the step shows a warning with a link to **Integrations** instead of the account selector.

## Arguments form

When you select an action, the **Arguments** section renders a form driven by the action's input schema. Fields that refer to existing records include dropdown pickers.

Switch to the **Raw JSON** tab when you prefer to write the full arguments object by hand. Changes in either tab stay in sync.

## Common actions

| Action | Description |
| - | - |
| **Get My User** | Fetch the authenticated Discord user profile. |
| **Get User** | Retrieve a Discord user by ID. |
| **List My Guilds** | List the servers the authenticated user belongs to. |
| **Get My Guild Member** | Get the authenticated user's member record for a server. |
| **Get Guild Template** | Retrieve details for a server template code. |
| **Get Guild Widget** | Get a server widget in JSON format. |
| **Get Guild Widget PNG** | Get a server widget image. |
| **Get My OAuth2 Authorization** | Fetch the current OAuth2 authorization details. |
| **List My Connections** | List the authenticated user's connected accounts. |
| **Get Role Connection** | Get the authenticated user's role connection for an application. |
| **Get My Entitlements** | List the authenticated user's application entitlements. |
| **Get SKU Subscription** | Retrieve a specific subscription by SKU and subscription ID. |

Destructive actions, such as deleting records, are not available in the workflow action picker.

## Output

This step stores the Discord response as the step output. The shape of the response depends on the action.

Use the full output reference in later steps:

```text theme={null}
{{STEP_IDENTIFIER.output}}
```

## Example

1. Open **Integrations** and connect Discord if you have not already done that.
2. Add a **Discord** step to your workflow.
3. Select a connected account in **Authentication**.
4. Choose **Get My User** in **Action**.
5. Fill in the required fields. Use **Insert Variable** to reference an earlier step's output for any field value.
6. Click **Run** in the step header to test the action, then review the returned payload in **Output**.

## Use cases

### Check a member profile

1. Get User
2. Get My Guild Member

### Review connected accounts

1. Get My OAuth2 Authorization
2. List My Connections
3. Get Role Connection

### Inspect server access

1. List My Guilds
2. Get Guild Widget
3. Get Guild Template

## Notes

* This step depends on a connected Discord integration in your workspace.
* The workflow action picker shows a curated set of actions. Agents with the Discord tool can use more of them.
* The sign-in screen may show third-party authorization branding.

## Using Discord as an Agent Tool

You can also add Discord as a tool in the **Agent Editor**. Open the agent, click **Add tool**, and select **Discord**. In the tool settings panel, choose the connected account the agent should use. The agent calls Discord actions when they are relevant to the conversation.

See also: [Integrations](https://docs.fetchhive.com/workspace/integrations.md), [Creating and Editing](https://docs.fetchhive.com/workflows/creating-and-editing.md), and [Testing and Iteration](https://docs.fetchhive.com/workflows/testing-and-iteration.md)


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