Discord Bot

Use this app to interact with the Discord API using a bot in your account

Integrate the Discord Bot API with the Coda API

Setup the Discord Bot API trigger to run a workflow which integrates with the Coda API. Pipedream's integration platform allows you to integrate Discord Bot and Coda remarkably fast. Free for developers.

Copy Doc with Coda API on New Message in Channel from Discord Bot API
Discord Bot + Coda
 
Try it
Create Doc with Coda API on New Message in Channel from Discord Bot API
Discord Bot + Coda
 
Try it
Create Rows with Coda API on New Message in Channel from Discord Bot API
Discord Bot + Coda
 
Try it
Find Row with Coda API on New Message in Channel from Discord Bot API
Discord Bot + Coda
 
Try it
List Columns with Coda API on New Message in Channel from Discord Bot API
Discord Bot + Coda
 
Try it
New Message in Channel from the Discord Bot API

Emit new event for each message posted to one or more channels

 
Try it
New Guild Member from the Discord Bot API

Emit new event for every member added to a guild

 
Try it
Copy Doc with the Coda API

Creates a copy of the specified doc. See docs

 
Try it
Add Role with the Discord Bot API

Assign a role to a user. Remember that your bot requires the MANAGE_ROLES permission. See the docs here

 
Try it
Create Doc with the Coda API

Creates a new doc. See docs

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Rows with the Coda API

Insert a row in a selected table. See docs

 
Try it

Overview of Discord Bot

The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.

Connect Discord Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    discord_bot: {
      type: "app",
      app: "discord_bot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        "Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
      },
    })
  },
})

Overview of Coda

With the Coda API, you can build:

  • A list of all the docs you have access to
  • A table of contents for a doc
  • A specific page from a doc
  • A list of all the action items in a doc
  • A list of all the people who have access to a doc
  • A list of all the docs a specific person has access to
  • A list of all the changes made to a doc

Connect Coda

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    coda: {
      type: "app",
      app: "coda",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://coda.io/apis/v1/whoami`,
      headers: {
        Authorization: `Bearer ${this.coda.$auth.api_token}`,
        "Content-Type": `application/json`,
      },
    })
  },
})