with Ablefy (formerly elopage) and Equifax?
The elopage API allows you to automate processes around selling digital products, courses, memberships, and tickets. It provides endpoints to manage products, payments, users, and subscriptions. With Pipedream's serverless workflows, you can construct automations that respond to elopage events or orchestrate complex tasks involving multiple systems, streamlining your digital commerce operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elopage: {
type: "app",
app: "elopage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.myablefy.com/api/funnels/`,
params: {
key: `${this.elopage.$auth.api_key}`,
secret: `${this.elopage.$auth.api_secret}`,
},
})
},
})
/**
* REQUIRED SCOPE: https://api.equifax.com/business/cnl-address/v1
*
* This test request uses the Equifax Address Insights API.
* Before using:
* 1. Enable the proper scope on your app
* 2. Modify the code to use your intended API endpoint
* 3. Verify your environment (sandbox, test, production)
*/
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
equifax: {
type: "app",
app: "equifax",
}
},
async run({steps, $}) {
const data = {
"context": {
"memberId": "311JA11903",
"referenceId": "1234ABCD"
},
"address": {
"line1": "4201 W KLING ST",
"line2": "",
"city": "BURBANK",
"stateProvince": "CA",
"postalCode": "91505"
}
}
return await axios($, {
method: "post",
url: `https://api.sandbox.equifax.com/business/cnl-address/v1/addressInsights`,
headers: {
Authorization: `Bearer ${this.equifax.$auth.oauth_access_token}`,
},
data,
})
},
})