with Data247 and Flash (by Velora AI)?
Data247 is a powerful service that provides real-time data such as phone carrier lookup, email to SMS gateway, text/SMS verification, and append information (e.g., appending carrier data to phone numbers). By leveraging Data247 with Pipedream, you can automate various data enrichment processes, validate customer contact details, or integrate enhanced data insights into your business workflows. This empowers you to maintain data accuracy, streamline communication strategies, and customize user experiences based on rich data sets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
data247: {
type: "app",
app: "data247",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.data247.com/v3.0`,
params: {
key: `${this.data247.$auth.api_key}`,
api: `MT`,
phone: `{your_phone_number_here}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flash_by_velora_ai: {
type: "app",
app: "flash_by_velora_ai",
}
},
async run({steps, $}) {
const data = {
"feedback": `Pipedream.com is a great platform for automations! Highly recommended.`,
}
return await axios($, {
method: "post",
url: `https://flash-api.velora.ai/v1/api/add-feedback`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.flash_by_velora_ai.$auth.api_key}`,
},
data,
})
},
})