with PostHog and Zoho SalesIQ?
Emit new event when a new conversation is created.
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
Retrieve visitor feedback by conversation ID. 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 Zoho SalesIQ API offers a wealth of possibilities for engaging with customers and streamlining sales processes. By leveraging this API in Pipedream, you can craft automated workflows to react to events, manage visitors, and integrate customer interaction data with other services. This could range from triggering actions based on visitor activities to syncing chat transcripts with CRM tools. Pipedream's ability to connect with hundreds of apps allows for creative and powerful automations that can save time and provide valuable insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_salesiq: {
type: "app",
app: "zoho_salesiq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.zoho_salesiq.$auth.base_api_uri}/api/v2/portals`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_salesiq.$auth.oauth_access_token}`,
},
})
},
})