with Grist and PostHog?
Emit new event once a record is updated or newly created in Grist. See the documentation
Emit new event when a record is just created. See the documentation
Emit new event when an action is performed in a project. See the documentation
Add records in a specified table or updates existing matching records. See the documentation
Captures a given event within the PostHog system. See the documentation
Grist API on Pipedream enables you to automate data management tasks in your Grist documents. This might mean syncing data across different platforms, triggering notifications based on data changes, or processing data through custom logic. With Pipedream, you can use the Grist API to build workflows that react to events in real-time, connect to hundreds of other services, manipulate data in sophisticated ways, and create custom endpoints to integrate with your Grist data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grist: {
type: "app",
app: "grist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://docs.getgrist.com/api/orgs`,
headers: {
Authorization: `Bearer ${this.grist.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})