with PostHog and Intuiface?
Emit new event when an action is performed in a project. See the documentation
Captures a given event within the PostHog system. See the documentation
Get a list of available experiences that can receive a message. See the docs
Send messages to any connected Intuiface Player running an experience that embeds the Web Triggers Interface Asset. See the docs
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:///${this.posthog.$auth.instance_url}/api/users/@me/`,
headers: {
Authorization: `Bearer ${this.posthog.$auth.api_key}`,
},
})
},
})
The Intuiface API lets you interact with your interactive experiences crafted in Intuiface, a platform for creating and deploying interactive digital content. With Pipedream's robust serverless platform, you can automate tasks involving your Intuiface experiences. For instance, you can synchronize user interaction data with CRM systems, update live content dynamically, or monitor and control experiences remotely.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
intuiface: {
type: "app",
app: "intuiface",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.intuiface.com/webtriggers/v1/availableExperiences`,
headers: {
"x-api-key": `${this.intuiface.$auth.api_key}`,
},
})
},
})