with Supercast and PostHog?
Emit new event when a new episode is created in Supercast. See the documentation
Emit new event when a new question is created. See the documentation
Emit new event when an action is performed in a project. See the documentation
Creates a new channel creator on Supercast. See the documentation
Captures a given event within the PostHog system. See the documentation
The Supercast API offers the ability to automate interactions with your Supercast account, enabling you to manage subscribers, analyze subscription data, and integrate with other services. With the Supercast API on Pipedream, you can create serverless workflows that trigger from various events, helping to streamline operations, personalize subscriber engagement, and extend the functionality of your podcast subscription service.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supercast: {
type: "app",
app: "supercast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://supercast.tech/api/v1/users`,
headers: {
Authorization: `Bearer ${this.supercast.$auth.access_token}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})