with Equifax and SerwerSMS.pl?
/**
* 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,
})
},
})
The SerwerSMS.pl API enables integration of robust SMS messaging capabilities into your applications or workflows. With this API, you can send text messages, manage contacts, receive delivery reports, and automate responses based on incoming messages. On Pipedream, you can harness the SerwerSMS.pl API to create event-driven workflows, automating SMS-based interactions with efficiency and ease. By connecting to various apps available on Pipedream, you can design powerful, multi-step automations that react to triggers and perform actions like sending alerts, notifications, or automated marketing campaigns.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
serwersms_pl: {
type: "app",
app: "serwersms_pl",
}
},
async run({steps, $}) {
const data = {
"username": `${this.serwersms_pl.$auth.username}`,
"password": `${this.serwersms_pl.$auth.password}`,
}
return await axios($, {
method: "post",
url: `https://api2.serwersms.pl/account/limits`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})