Discord Bot

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

Integrate the Discord Bot API with the WooCommerce API

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

Create Customer with WooCommerce API on New Message in Channel from Discord Bot API
Discord Bot + WooCommerce
 
Try it
Create Order with WooCommerce API on New Message in Channel from Discord Bot API
Discord Bot + WooCommerce
 
Try it
Create Product with WooCommerce API on New Message in Channel from Discord Bot API
Discord Bot + WooCommerce
 
Try it
Get Customer with WooCommerce API on New Message in Channel from Discord Bot API
Discord Bot + WooCommerce
 
Try it
Get Order with WooCommerce API on New Message in Channel from Discord Bot API
Discord Bot + WooCommerce
 
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 Coupon Event (Instant) from the WooCommerce API

Emit new event each time the specified coupon event(s) occur

 
Try it
New Customer Event (Instant) from the WooCommerce API

Emit new event each time the specified customer event(s) occur

 
Try it
New Order Event (Instant) from the WooCommerce API

Emit new event each time the specified order event(s) occur

 
Try it
New Product Event (Instant) from the WooCommerce API

Emit new event each time the specified product event(s) occur

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the 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 Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Change Nickname with the Discord Bot API

Modifies the nickname of the current user in a guild.

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the 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 WooCommerce

The WooCommerce API allows developers to interact with WooCommerce sites in a
number of ways. With the API, developers can create, read, update, and delete
data such as products, orders, customers, etc. WooCommerce also provides a
number of API endpoints for retrieving information about the site, such as
settings, currencies, etc.

Here are some examples of what you can build using the WooCommerce API:

  • A mobile app for browsing and ordering products from a WooCommerce store
  • A desktop application for managing a WooCommerce store
  • A web application for displaying real-time information about a WooCommerce
    store (sales, stock levels, etc)
  • An API extension for WooCommerce that allows third-party applications to
    access data in a WooCommerce store

Connect WooCommerce

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: {
    woocommerce: {
      type: "app",
      app: "woocommerce",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.woocommerce.$auth.url}/wp-json/wc/v2/orders`,
      auth: {
        username: `${this.woocommerce.$auth.key}`,
        password: `${this.woocommerce.$auth.secret}`,
      },
    })
  },
})