with Zendesk Sell and Infobip?
Emit new event when a new message is received on Whatsapp.
Emit new event when a new contact is created in Zendesk Sell.
Emit new event when a new deal is created in Zendesk Sell.
Emit new event when a new lead is created in Zendesk Sell.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zendesk_sell: {
type: "app",
app: "zendesk_sell",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getbase.com/v2/users/self`,
headers: {
Authorization: `Bearer ${this.zendesk_sell.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
The Infobip API is a communication platform that enables seamless integration of messaging, voice, and email functionalities into various applications. With Infobip, you can automate notifications, authenticate users via one-time passwords, engage customers across multiple channels, and track communication performance. Pipedream's serverless execution environment lets you create sophisticated workflows that harness the capabilities of Infobip by triggering actions based on events, manipulating data, and connecting with numerous other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
infobip: {
type: "app",
app: "infobip",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.infobip.$auth.base_url}.api.infobip.com/sms/1/logs`,
headers: {
"Authorization": `App ${this.infobip.$auth.api_key}`,
},
})
},
})