with PostHog and MX Technologies?
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
Creates a new account for a specific user. See the documentation
Creates a new user in the MX Technologies platform. 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 MX Technologies API provides a range of financial data solutions, enabling users to obtain insights into personal finances, conduct risk analysis, and offer personalized financial advice. Within Pipedream, you can harness the power of the MX API to automate financial data aggregation, customer profiling, and trigger custom workflows based on financial events or changes in user data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mx_technologies: {
type: "app",
app: "mx_technologies",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mx_technologies.$auth.environment}.mx.com/users`,
headers: {
"Accept": `application/vnd.mx.api.v1+json`,
},
auth: {
username: `${this.mx_technologies.$auth.client_id}`,
password: `${this.mx_technologies.$auth.api_key}`,
},
})
},
})