with PostHog and ClickSend SMS?
Emit new event when an action is performed in a project. See the documentation
Emit new event for each new incoming SMS message received. See the documentation
Emit new event when a new voice message is received or sent. See the documentation
Captures a given event within the PostHog system. See the documentation
Creates a new contact in a specific list. See the documentation
Sends a new MMS to one or multiple recipients. See the documentation
Sends a new SMS to one or several recipients. See the documentation
The PostHog API lets you track events, update user properties, and extract analytics to understand user behavior within your applications. Integrating this API into Pipedream workflows allows you to automate actions based on event data, sync user properties across platforms, and trigger alerts or notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
posthog: {
type: "app",
app: "posthog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.posthog.com/api/users/@me/`,
headers: {
Authorization: `Bearer ${this.posthog.$auth.api_key}`,
},
})
},
})
The ClickSend SMS API unlocks the potential to integrate robust messaging capabilities into your workflows. With Pipedream, you can not only send SMS messages programmatically but also automate notifications, streamline communication based on events, and much more. Whether you're confirming orders, alerting staff, or engaging with customers, ClickSend and Pipedream make these tasks seamless.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clicksend: {
type: "app",
app: "clicksend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.clicksend.com/v3/account`,
auth: {
username: `${this.clicksend.$auth.username}`,
password: `${this.clicksend.$auth.api_key}`,
},
})
},
})