WooCommerce

Open source eCommerce platform built for WordPress

Integrate the WooCommerce API with the Telegram Bot API

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

Create Chat Invite Link with Telegram Bot API on New CouponEvent from WooCommerce API
WooCommerce + Telegram Bot
 
Try it
Create Chat Invite Link with Telegram Bot API on New Customer Event from WooCommerce API
WooCommerce + Telegram Bot
 
Try it
Create Chat Invite Link with Telegram Bot API on New Order Event from WooCommerce API
WooCommerce + Telegram Bot
 
Try it
Create Chat Invite Link with Telegram Bot API on New Product Event from WooCommerce API
WooCommerce + Telegram Bot
 
Try it
Create Customer with WooCommerce API on New Bot Command Received (Instant) from Telegram Bot API
Telegram Bot + WooCommerce
 
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
New Bot Command Received (Instant) from the Telegram Bot API

Emit new event each time a Telegram Bot command is received.

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the docs

 
Try it
Create Chat Invite Link with the Telegram Bot API

Create an additional invite link for a chat, See the docs for more information

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it

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

Overview of Telegram Bot

With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:

  • Sending and receiving messages
  • Social networking
  • Content management
  • File sharing
  • Location sharing
  • Bot administration
  • And more!

Connect Telegram Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})