ReferralRock

Influence word of mouth instead of waiting for it to happen.

Integrate the ReferralRock API with the Formatting API

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

[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
[Date/Time] Format with the Formatting API

Format a date string to another date string

 
Try it

Overview of ReferralRock

ReferralRock's API unlocks the power of referral marketing within your applications, allowing you to automate the integration of your referral programs into your business processes. By leveraging this API on Pipedream, you can create dynamic, serverless workflows that respond to events in ReferralRock, synchronize data with other platforms, reward customer loyalty, and track the performance of your referral campaigns in real-time. This enables a seamless blend of referral marketing with your existing tech stack.

Connect ReferralRock

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: {
    referralrock: {
      type: "app",
      app: "referralrock",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.referralrock.com/api/programs`,
      auth: {
        username: `${this.referralrock.$auth.public_key}`,
        password: `${this.referralrock.$auth.private_key}`,
      },
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})