SnatchBot

A revolutionary bot builder platform to add multi-channel messaging to your system.

Integrate the SnatchBot API with the WooCommerce API

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

Create Customer with WooCommerce API on New Message Sent from SnatchBot API
SnatchBot + WooCommerce
 
Try it
Create Order with WooCommerce API on New Message Sent from SnatchBot API
SnatchBot + WooCommerce
 
Try it
Create Product with WooCommerce API on New Message Sent from SnatchBot API
SnatchBot + WooCommerce
 
Try it
Get Customer with WooCommerce API on New Message Sent from SnatchBot API
SnatchBot + WooCommerce
 
Try it
Get Messages with SnatchBot API on New Coupon Event (Instant) from WooCommerce API
WooCommerce + SnatchBot
 
Try it
New Message Sent from the SnatchBot API

Emit new event when a new bot message is sent. See the documentation

 
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
Get Messages with the SnatchBot API

Retrieve a message or a list of messages. See the documentation

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the docs

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Post Message with the SnatchBot API

Post a new message and receive a response from your bot. See the documentation

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it

Overview of SnatchBot

The SnatchBot API provides a programmatic window to SnatchBot's chatbot platform, allowing you to manage and interact with your bots outside of the SnatchBot interface. With this API, you can execute tasks like sending messages, retrieving chat history, and managing your bot's structure and behavior. When integrated into Pipedream workflows, the SnatchBot API shines in automating interactions, syncing chat data with other systems, and reacting to events with custom logic and third-party services.

Connect SnatchBot

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: {
    snatchbot: {
      type: "app",
      app: "snatchbot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://account.snatchbot.me/channels/api/api/id${this.snatchbot.$auth.bot_id}/app${this.snatchbot.$auth.app_id}/aps${this.snatchbot.$auth.app_secret}`,
      params: {
        user_id: `{your_user_id}`,
        message_id: `{your_message_id}`,
      },
    })
  },
})

Overview of WooCommerce

WooCommerce is a customizable, open-source eCommerce platform built on WordPress. With the WooCommerce API, you can tap into the heart of your eCommerce store to read, create, update, and delete products, orders, and customers. On Pipedream, you can harness this API to automate routine tasks, sync data across platforms, and enhance customer experiences. By connecting WooCommerce to a wide array of apps and services, you can streamline operations, trigger personalized marketing, and analyze your sales data with greater ease.

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