with Gupshup and SMS Partner?
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}`,
},
})
},
})
The SMS Partner API allows you to integrate SMS functionalities within your Pipedream workflows. This API gives you the power to send text messages, check delivery statuses, and manage contacts directly through programmatic means. By leveraging this API on Pipedream, you can automate notifications, streamline communication processes, and build complex messaging workflows that can interact with a plethora of other services available on Pipedream's platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_partner: {
type: "app",
app: "sms_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smspartner.fr/v1/me`,
headers: {
"Content-Type": `application/json`,
},
params: {
apiKey: `${this.sms_partner.$auth.api_key}`,
_format: `json`,
},
})
},
})