Piggy

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

Integrate the Piggy API with the Microsoft Teams API

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

Create Channel with Microsoft Teams API on New Contact Created from Piggy API
Piggy + Microsoft Teams
 
Try it
Create Contact Attribute with Piggy API on New Channel from Microsoft Teams API
Microsoft Teams + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Channel Message from Microsoft Teams API
Microsoft Teams + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Chat from Microsoft Teams API
Microsoft Teams + Piggy
 
Try it
Create Contact Attribute with Piggy API on New Chat Message from Microsoft Teams API
Microsoft Teams + Piggy
 
Try it
New Contact Created from the Piggy API

Emit new event on each new contact.

 
Try it
New Channel from the Microsoft Teams API

Emit new event when a new channel is created within a team

 
Try it
New Channel Message from the Microsoft Teams API

Emit new event when a new message is posted in a channel

 
Try it
New Chat from the Microsoft Teams API

Emit new event when a new chat is created

 
Try it
New Chat Message from the Microsoft Teams API

Emit new event when a new message is received in a chat

 
Try it
Create Contact Attribute with the Piggy API

Creates a contact attribute. See the documentation

 
Try it
Create Channel with the Microsoft Teams API

Create a new channel in Microsoft Teams. See the docs here

 
Try it
Find Or Create Contact with the Piggy API

Find or create a contact. See the documentation

 
Try it
List Channels with the Microsoft Teams API

Lists all channels in a Microsoft Team. See the docs here

 
Try it
List Shifts with the Microsoft Teams API

Get the list of shift instances for a team. See the documentation

 
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 Microsoft Teams

The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.

Connect Microsoft Teams

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: {
    microsoft_teams: {
      type: "app",
      app: "microsoft_teams",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://graph.microsoft.com/v1.0/me`,
      headers: {
        Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
      },
    })
  },
})