Securely access Equifax's credit reporting and identity verification services to automate credit checks, fraud prevention, and consumer data validation workflows.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
/**
* 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,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})