Pipedream

Integration platform for developers

Integrate the Pipedream API with the Refersion API

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

Create Affiliate with Refersion API on New Scheduled Tasks from Pipedream API
Pipedream + Refersion
 
Try it
Get Affiliate with Refersion API on New Scheduled Tasks from Pipedream API
Pipedream + Refersion
 
Try it
Manual Comission Credit with Refersion API on New Scheduled Tasks from Pipedream API
Pipedream + Refersion
 
Try it
New Scheduled Tasks from the Pipedream API

Exposes an HTTP API for scheduling messages to be emitted at a future time

 
Try it
New Upcoming Event Alert from the Pipedream API

Emit new event based on a time interval before an upcoming event in the calendar. This source uses Pipedream's Task Scheduler. See the documentation for more information and instructions for connecting your Pipedream account.

 
Try it
New Upcoming Calendar Event from the Pipedream API

Emit new event when a Calendar event is upcoming, this source is using reminderMinutesBeforeStart property of the event to determine the time it should emit.

 
Try it
New Upcoming Event Type Alert from the Pipedream API

Emit new event based on a time interval before an upcoming event of the specified type ("default", "focusTime", "outOfOffice", "workingLocation") in the calendar. This source uses Pipedream's Task Scheduler. See the documentation for more information and instructions for connecting your Pipedream account.

 
Try it
Create Affiliate with the Refersion API

Create a new affiliate. See the docs here

 
Try it
Get Affiliate with the Refersion API

Get information about an affiliate. You can get an affiliate's information using their ID or code. See the docs here

 
Try it
Create a Subscription with the Pipedream API

Create a Subscription. See Doc

 
Try it
Manual Comission Credit with the Refersion API

Allows you to manually credit an affiliate with any commission amount. See the docs here

 
Try it
Delete a Subscription with the Pipedream API

Delete a Subscription. See Doc

 
Try it

Overview of Pipedream

Pipedream is an API that allows you to build applications that can connect to
various data sources and processes them in real-time. You can use Pipedream to
create applications that can perform ETL (Extract, Transform, and Load) tasks,
as well as to create data-driven workflows.

Some examples of applications you can build using the Pipedream API include:

  • An application that can extract data from a database, transform it, and then
    load it into another database.
  • An application that can monitor a data source for changes, and then trigger a
    workflow in response to those changes.
  • An application that can poll an API for new data, and then process that data
    in real-time.

Connect Pipedream

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

Overview of Refersion

Refersion is a powerful affiliate tracking platform that streamlines the process of managing, tracking, and growing your affiliate network. Through its API, you can automate affiliate registrations, commission tracking, and payout processes. Pipedream's serverless platform allows you to connect Refersion with hundreds of other apps to automate workflows, sync data across platforms, and respond to events in real time.

Connect Refersion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    refersion: {
      type: "app",
      app: "refersion",
    }
  },
  async run({steps, $}) {
    const data = {
      "limit": `3`,
      "page": `1`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.refersion.com/v2/affiliate/list`,
      headers: {
        "Accept": `application/json`,
        "Content-Type": `application/json`,
        "Refersion-Public-Key": `{{custom_fields.api_key}}`,
        "Refersion-Secret-Key": `{{custom_fields.secret}}`,
      },
      data,
    })
  },
})