with DitLead and Smoove?
Emit new events according to the selected event types. See the documentation
Emit new event when a new subscriber is created. See the docs
Adds a new contact to your account or update an existing contact. See the docs
Checks if a contact exists in your account otherwise will create a contact. See the docs
Contacts information can be retrieved by sending the function a unique identifier (contact's ID, email, cell phone or external ID). See the docs
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ditlead: {
type: "app",
app: "ditlead",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ditlead.com/v1/apikey/validate`,
headers: {
Authorization: `Bearer ${this.ditlead.$auth.api_key}`,
},
})
},
})
The Smoove API, part of the Sendbird platform, offers a suite of communication capabilities such as messaging, chat, and video interactions. With Pipedream, you can leverage these features to automate interactions, sync communication data with other services, and create event-driven workflows. For example, you can trigger actions in other applications when new messages arrive, synchronize user profiles across platforms, or automate notifications for chat events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smoove: {
type: "app",
app: "smoove",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.smoove.io/v1/Lists`,
headers: {
Authorization: `Bearer ${this.smoove.$auth.api_key}`,
},
})
},
})