Viral Loops

Viral Loops gives you referral program templates inspired by billion-dollar brands to increase and track customer referrals.

Integrate the Viral Loops API with the Gmail API

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

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Participant with Viral Loops API on New Attachment Received from Gmail API
Gmail + Viral Loops
 
Try it
Create Participant with Viral Loops API on New Email Matching Search from Gmail API
Gmail + Viral Loops
 
Try it
Create Participant with Viral Loops API on New Email Received from Gmail API
Gmail + Viral Loops
 
Try it
Create Participant with Viral Loops API on New Labeled Email from Gmail API
Gmail + Viral Loops
 
Try it
Create Participant with Viral Loops API on New Sent Email from Gmail API
Gmail + Viral Loops
 
Try it
New Attachment Received from the Gmail API

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

 
Try it
New Email Matching Search from the Gmail API

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

 
Try it
New Email Received from the Gmail API

Emit new event when a new email is received.

 
Try it
New Labeled Email from the Gmail API

Emit new event when a new email is labeled.

 
Try it
New Sent Email from the Gmail API

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

 
Try it
Create Participant with the Viral Loops API

Creates a participant. See documentation here

 
Try it
Add Label to Email with the Gmail API

Add label(s) to an email message. See the docs

 
Try it
Get Campaign with the Viral Loops API

Get a campaign. See documentation here

 
Try it
Create Draft with the Gmail API

Create a draft from your Google Workspace email account. See the documentation

 
Try it
Get Participant with the Viral Loops API

Get a participant. See documentation here

 
Try it

Overview of Viral Loops

The Viral Loops API enables you to tap into the potent capabilities of referral marketing within your applications. Using this API through Pipedream, you can automate campaign management, participant tracking, and reward allocation. You can also trigger actions based on referral achievements or new participant sign-ups, making it simpler to manage marketing campaigns and analyze their performance in real-time.

Connect Viral Loops

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: {
    viral_loops: {
      type: "app",
      app: "viral_loops",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.viral-loops.com/api/v3/campaign`,
      headers: {
        "accept": `application/json`,
        "apiToken": `${this.viral_loops.$auth.api_token}`,
      },
    })
  },
})

Overview of Gmail

By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.

Connect Gmail

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: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo