Piggy

The world’s smartest loyalty engine 🚀 Changing the way businesses and people connect.

Integrate the Piggy API with the WooCommerce API

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

Create Contact Attribute with Piggy API on New Coupon Event (Instant) from WooCommerce API
WooCommerce + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Customer Event (Instant) from WooCommerce API
WooCommerce + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Order Event (Instant) from WooCommerce API
WooCommerce + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Product Event (Instant) from WooCommerce API
WooCommerce + Piggy
 
Try it
Create Customer with WooCommerce API on New Contact Created from Piggy API
Piggy + WooCommerce
 
Try it
New Contact Created from the Piggy API

Emit new event on each new contact.

 
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 Contact Attribute with the Piggy API

Creates a contact attribute. See the documentation

 
Try it
Create Customer with the WooCommerce API

Creates a new customer. See the docs

 
Try it
Find Or Create Contact with the Piggy API

Find or create a contact. See the documentation

 
Try it
Create Order with the WooCommerce API

Creates a new order. See the docs

 
Try it
Create Product with the WooCommerce API

Creates a new product. See the docs

 
Try it

Overview of Piggy

The Piggy API provides a suite of loyalty and reward services allowing businesses to manage customer loyalty programs, offer discounts, and track customer engagement. With Pipedream, you can harness this powerful API to automate various aspects of your loyalty program. You might sync loyalty data with other business systems, trigger emails or notifications based on customer actions, or generate reports on the effectiveness of your loyalty campaigns.

Connect Piggy

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: {
    piggy: {
      type: "app",
      app: "piggy",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.piggy.eu/api/v3/oauth/clients/contacts`,
      headers: {
        Authorization: `Bearer ${this.piggy.$auth.api_key}`,
      },
    })
  },
})

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