with Placetel and SMS Magic?
The Placetel API lets you integrate a variety of telephony functions directly into Pipedream workflows. By connecting Placetel to Pipedream, you can automate processes like sending SMS messages, managing calls, or updating contact information programmatically. Pipedream's serverless platform enables these integrations to run on triggers such as incoming webhooks, scheduled times, or actions from other apps, orchestrating complex tasks in a simplified manner.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
placetel: {
type: "app",
app: "placetel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.placetel.de/v2/me`,
headers: {
Authorization: `Bearer ${this.placetel.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
The SMS Magic API on Pipedream opens a world of possiblities for automating communication workflows. With it, you can send personalized text messages, schedule campaigns, and track message delivery within your applications. It's especially powerful for sales and support teams who need to engage customers on a massive scale without sacrificing the personal touch.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_magic: {
type: "app",
app: "sms_magic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sms-magic.com/v1/api_key/validate`,
headers: {
"Content-Type": `application/json`,
"apiKey": `${this.sms_magic.$auth.api_key}`,
},
})
},
})