Discord

Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.

Integrate the Discord API with the Enedis Data-Connect API

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

Get Address with Enedis Data-Connect API on New Message (Instant) from Discord API
Discord + Enedis Data-Connect
 
Try it
Get Consumption Load Curve with Enedis Data-Connect API on New Message (Instant) from Discord API
Discord + Enedis Data-Connect
 
Try it
Get Contact with Enedis Data-Connect API on New Message (Instant) from Discord API
Discord + Enedis Data-Connect
 
Try it
Get Contracts with Enedis Data-Connect API on New Message (Instant) from Discord API
Discord + Enedis Data-Connect
 
Try it
Get Daily Consumption Max Power with Enedis Data-Connect API on New Message (Instant) from Discord API
Discord + Enedis Data-Connect
 
Try it
New Message (Instant) from the Discord API

Emit new event for each message posted to one or more channels in a Discord server

 
Try it
Message Deleted (Instant) from the Discord API

Emit new event for each message deleted

 
Try it
New Command Received (Instant) from the Discord API

Emit new event for each command posted to one or more channels in a Discord server

 
Try it
New Guild Member (Instant) from the Discord API

Emit new event for each new member added to a guild

 
Try it
Reaction Added (Instant) from the Discord API

Emit new event for each reaction added to a message

 
Try it
Get Address with the Enedis Data-Connect API

Returns the address of a client. See the docs here

 
Try it
Get Consumption Load Curve with the Enedis Data-Connect API

Returns the daily average power consumed in W, on a given interval (by default 30 minutes). See the docs here

 
Try it
Get Contact with the Enedis Data-Connect API

Returns the contact informations of a client. See the docs here

 
Try it
Get Contracts with the Enedis Data-Connect API

Returns the contract informations of a client. See the docs here

 
Try it
Get Daily Consumption with the Enedis Data-Connect API

Returns the daily consumption in Wh. See the docs here

 
Try it

Overview of Discord

The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.

Connect Discord

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: {
    discord: {
      type: "app",
      app: "discord",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://discord.com/api/users/@me`,
      headers: {
        Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
        "accept": `application/json`,
      },
    })
  },
})

Overview of Enedis Data-Connect

Enedis Data-Connect API provides access to energy consumption data, enabling users to analyze and optimize electricity usage. By integrating with this API on Pipedream, you can automate the collection of meter readings, track energy consumption patterns, and even develop personalized energy-saving strategies. Pipedream's serverless platform simplifies connecting Enedis Data-Connect with other apps, allowing you to set up complex workflows without managing infrastructure.

Connect Enedis Data-Connect

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    enedis: {
      type: "app",
      app: "enedis",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://ext.hml.api.enedis.fr/metering_data_dcmp/v5/daily_consumption_max_power`,
      headers: {
        Authorization: `Bearer ${this.enedis.$auth.oauth_access_token}`,
      },
      params: {
        start: `  `,
        end: ``,
        usage_points_id: ``,
      },
    })
  },
})