Discord

Send messages, manage channels, and moderate members in Discord servers. In Appbricx, your workflows and server functions call it by name once it is connected.

What you can do

16 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.

  • Ban guild memberban_guild_member
    Bans a guild member
  • Create channelcreate_channel
    create a channel
  • Send Message Webhooksend_message_webhook
    Send a discord message via webhook
  • Add role to memberadd_role_to_member
    Add Guild Member Role
  • Create guild rolecreateGuildRole
    Creates a new role on the specified guild
  • Delete channeldelete_channel
    delete a channel
  • Delete guild roledeleteGuildRole
    Deletes the specified role from the specified guild
  • Find channelfind_channel
    find a channel by name
  • List guild memberslist_guild_members
    List Guild Members
  • Remove ban from userremove_ban_from_user
    Removes the guild ban from a user
  • Remove member from guildremove_member_from_guild
    Remove Guild Member
  • Remove role from memberremove_role_from_member
    Remove Guild Member Role

All 16 actions with their inputs

Set it up

About two minutes, once per project or once for the whole workspace.

  1. Open Integrations in the builder

    Backend panel, Integrations tab, then Discord. To connect it for every project, use Workspace settings, Integrations.

  2. Add your credentials

    An API key (or token) from your Discord account, pasted once. It is stored encrypted and only read on the server when an action runs.

    • API key From Discord's settings
  3. Call an action

    From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.

    Workflow
    // .workflow.js (native ctx)
    export async function run(ctx) {
      const res = await ctx.integrations.invoke("discord", "ban_guild_member", {
        "guild_id": "<guild_id>",
        "user_id": "<user id>"
      });
      if (!res.success) throw new Error(res.error);
      ctx.log.info("Discord answered", { output: res.output });
    }

Discord and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.

Connect Discord once. Every workflow can use it.