with Sales Simplify and Equifax?
The Sales Simplify API, integrated within Pipedream's ecosystem, is a powerhouse for automating sales and customer relationship tasks. Utilize this API to streamline lead management, automate follow-ups, and track customer interactions systematically. With Pipedream, you can effortlessly create serverless workflows that link Sales Simplify with various other apps, providing a cohesive and efficient automation system. Harness the capability to trigger events based on new leads, update customer records in real-time, and generate data-driven insights that keep your sales pipeline flowing smoothly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sales_simplify: {
type: "app",
app: "sales_simplify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.salessimplify.com/api/v1/lead`,
headers: {
Authorization: `Bearer ${this.sales_simplify.$auth.api_key}`,
},
params: {
pageNo: `1`,
limit: `10`,
},
})
},
})
/**
* 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,
})
},
})