with MSG91 and Microbilt Developer?
MSG91 API offers a powerful platform for integrating SMS solutions into a variety of applications, enabling automated and personalized communication. With Pipedream, MSG91's API can be woven into workflows to send notifications, verify users with OTPs, and engage customers with marketing campaigns. Pipedream's no-code connectors and serverless execution model simplify the process of setting up MSG91-powered automations that can interact with countless other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
msg91: {
type: "app",
app: "msg91",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.msg91.com/api/validate.php?authkey=${this.msg91.$auth.authkey}`,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microbilt_developer: {
type: "app",
app: "microbilt_developer",
}
},
async run({steps, $}) {
const data = {
"Address": {
"Addr1": "1640 Airport Road #115",
"City": "Kennesaw",
"State": "GA",
"Zip": "30144"
}
}
return await axios($, {
method: "post",
url: `https://${this.microbilt_developer.$auth.environment}.microbilt.com/AddressStandardization`,
headers: {
Authorization: `Bearer ${this.microbilt_developer.$auth.oauth_access_token}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})