with Gupshup and Benchmark Email?
The Gupshup API enables developers to build communication solutions with extensive messaging capabilities. On Pipedream, you can harness this power to create serverless workflows that interact with Gupshup's messaging services. Automate sending messages, create chatbots, or build complex communication systems that react to incoming messages or events. The workflows can be triggered by webhooks, schedules, or other apps' events, and you can integrate Gupshup with numerous other services available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gupshup: {
type: "app",
app: "gupshup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gupshup.io/sm/api/v1/users/${this.gupshup.$auth.appname}`,
headers: {
"apikey": `${this.gupshup.$auth.apikey}`,
},
})
},
})
Benchmark Email API lets you automate your email marketing efforts. You can manage subscribers, send emails, and track campaign results. With Pipedream's serverless platform, tapping into this API means you can create custom, automated workflows that respond to events in real time across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benchmark_email: {
type: "app",
app: "benchmark_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientapi.benchmarkemail.com/Client/ProfileDetails`,
headers: {
"AuthToken": `${this.benchmark_email.$auth.api_key}`,
"Content-Type": `application/json`,
},
})
},
})