Confection

Confection collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too.

Integrate the Confection API with the Discord Bot API

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

Get Full Details of UUID with Confection API on New Message in Channel from Discord Bot API
Discord Bot + Confection
 
Try it
Get Related UUIDs with Confection API on New Message in Channel from Discord Bot API
Discord Bot + Confection
 
Try it
Add Role with Discord Bot API on New Event from Confection API
Confection + Discord Bot
 
Try it
Add Role with Discord Bot API on New Field Value from Confection API
Confection + Discord Bot
 
Try it
Add Role with Discord Bot API on New or Updated Leads from Confection API
Confection + Discord Bot
 
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 Event from the Confection API

Emit new event when a UUID receives a value for the configured Event Name. The latest value as well a history of all values ever received for that Event Name will be returned.

 
Try it
New Field Value from the Confection API

Emit new event when the UUID is significant enough to be classified as a lead. You define the field of significance and if a UUID gets a value for this field, it will trigger.

 
Try it
New or Updated Leads from the Confection API

Emit new event when any UUID is created or updated. To learn more about how Confection handles UUIDs, visit https://confection.io/main/demo/#uuid.

 
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
Get Full Details of UUID with the Confection API

This action will retrieve the full details of a specified UUID.

 
Try it
Get Related UUIDs with the Confection API

This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.

 
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
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Channel Invite with the Discord Bot API

Create a new invite for the channel. See the docs here

 
Try it

Overview of Confection

Confection API provides a robust solution for collecting, managing, and utilizing user data in compliance with privacy regulations. It helps businesses capture data lost due to ad blockers and privacy tech, ensuring you don't miss out on valuable insights. With Pipedream, you can harness this data in real-time, triggering actions, analyzing trends, or integrating with other services for a comprehensive data strategy.

Connect Confection

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: {
    confection: {
      type: "app",
      app: "confection",
    }
  },
  async run({steps, $}) {
    const data = {
      "key": `${this.confection.$auth.secret_key}`,
    }
    return await axios($, {
      url: `https://transmission.confection.io/${this.confection.$auth.account_id}/account/`,
      data,
    })
  },
})

Overview of Discord Bot

The Discord Bot API unlocks the power to interact with Discord users and channels programmatically, making it possible to automate messages, manage servers, and integrate with other services. With Pipedream's serverless platform, you can create complex workflows that respond to events in Discord, process data, and trigger actions in other apps. This opens up opportunities for community engagement, content moderation, analytics, and more, without the overhead of managing infrastructure.

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