What do you want to automate

with Retently and Verifone?

Prompt, edit and deploy AI agents that connect to Retently, Verifone and 2,500+ other apps in seconds.

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
New Customer Added from the Retently API

Emit new event when a new customer is added.

 
Try it
New Survey Response from the Retently API

Emit new event when a new survey response is received.

 
Try it
Add Tags to Response with the Retently API

Adds tags to a response. See the documentation

 
Try it
Create Customer with the Retently API

Creates a new customer. See the documentation

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

Overview of Retently

The Retently API offers a robust set of features for gathering and leveraging customer feedback. With it, you can automate the collection of NPS scores, follow up on customer surveys, and integrate customer sentiment data into other business tools. Pipedream makes these interactions smooth by triggering workflows from Retently events or sending data back to Retently, enabling you to synchronize your customer feedback with the rest of your tech stack effortlessly.

Connect Retently

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: {
    retently: {
      type: "app",
      app: "retently",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://app.retently.com/api/v2/nps/customers`,
      headers: {
        "Authorization": `api_key=${this.retently.$auth.api_key}`,
      },
    })
  },
})

Connect Verifone

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
28
29
30
31
32
33
34
35
import { axios } from "@pipedream/platform";
import dayjs from "dayjs";
import crypto from "crypto";

export default defineComponent({
  props: {
    verifone: {
      type: "app",
      app: "verifone",
    }
  },

  async run({steps, $}) {
    let requestDateTime = new Date();
    requestDateTime = dayjs(requestDateTime).format("YYYY-MM-DD hh:mm:ss");

    const algo = "sha256";
    let hash = this.verifone.$auth.vendor_code.length 
            + this.verifone.$auth.vendor_code 
            + requestDateTime.toString().length 
            + requestDateTime;
    hash = crypto.createHmac(algo, this.verifone.$auth.secret_key)
      .update(hash)
      .digest('hex');

    return await axios($, {
      url: `https://api.2checkout.com/rest/6.0/products/`,
      headers: {
        "X-Avangate-Authentication": `code="${this.verifone.$auth.vendor_code}" date="${requestDateTime}" hash="${hash}" algo="${algo}"`,
        Accept: "application/json"
      },
    })
  },
})

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