Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

Integrate the Cloudflare (API key) API with the Discord Bot API

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

Change Development Mode with Cloudflare (API key) API on New Message in Channel from Discord Bot API
Discord Bot + Cloudflare (API key)
 
Try it
Change Zone's SSL Setting with Cloudflare (API key) API on New Message in Channel from Discord Bot API
Discord Bot + Cloudflare (API key)
 
Try it
Create a Certificate with Cloudflare (API key) API on New Message in Channel from Discord Bot API
Discord Bot + Cloudflare (API key)
 
Try it
Create DNS Record with Cloudflare (API key) API on New Message in Channel from Discord Bot API
Discord Bot + Cloudflare (API key)
 
Try it
Create IP Access Rule with Cloudflare (API key) API on New Message in Channel from Discord Bot API
Discord Bot + Cloudflare (API key)
 
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 Forum Thread Message from the Discord Bot API

Emit new event for each forum thread message posted. Note that your bot must have the MESSAGE_CONTENT privilege intent to see the message content, see the docs here.

 
Try it
New Guild Member from the Discord Bot API

Emit new event for every member added to a guild. See docs here

 
Try it
New Thread Message from the Discord Bot API

Emit new event for each thread message posted.

 
Try it
Change Development Mode with the Cloudflare (API key) API

Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare's accelerated cache and slow down your site. See the docs here

 
Try it
Change Zone's SSL Setting with the Cloudflare (API key) API

Choose the appropriate SSL setting for your zone. See the docs here

 
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 a Certificate with the Cloudflare (API key) API

Creates an Origin CA certificate. See the docs here

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it

Overview of Cloudflare (API key)

Cloudflare provides a powerful API that you can use to manage your DNS
settings,Crypto settings, and more.Here are some examples of what you can do
with the Cloudflare API:

  • Manage your DNS settings: You can use the Cloudflare API to manage your DNS
    settings, including creating and updating DNS records.
  • Crypto settings: You can use the Cloudflare API to manage your Crypto
    settings, including enabling and disabling SSL/TLS encryption for your
    website.
  • Firewall rules: You can use the Cloudflare API to manage your firewall rules,
    including creating and updating firewall rules.

Connect Cloudflare (API key)

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: {
    cloudflare_api_key: {
      type: "app",
      app: "cloudflare_api_key",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.cloudflare.com/client/v4/user`,
      headers: {
        "X-Auth-Key": `${this.cloudflare_api_key.$auth.API_Key}`,
        "X-Auth-Email": `${this.cloudflare_api_key.$auth.Email}`,
      },
    })
  },
})

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}`,
      },
    })
  },
})