with PostHog and Encodian?
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
Compares two texts answering if they are equal or not. 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 Encodian API provides robust document management and manipulation capabilities, enabling users to convert, merge, split, OCR, and watermark documents. This API integrates smoothly with Pipedream, allowing for the automation of document processing tasks within various workflows. By leveraging Encodian with Pipedream, users can create efficient automations that handle large volumes of documents, reducing manual effort and improving productivity in document-centric processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
encodian: {
type: "app",
app: "encodian",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apps-encodian.com/api/v1/Mgmt/GetSubscriptionStatus`,
headers: {
"X-ApiKey": `${this.encodian.$auth.encodian_flowr_api_key}`,
},
})
},
})