with Lucca and ChartMogul?
Emit new event when a new expense report is created by an employee. Useful for automating approval or finance workflows. See the documentation
Emit new event when a new leave request is submitted by an employee. See the documentation
Emit new event when a new user (employee) is created in Lucca. See the documentation
Approve or Deny a pending leave request. See the documentation
Adds custom attributes to customers that have the specified email address. See the docs here
Adds custom attributes to a given customer. See the docs here
Adds tags to customers that have the specified email address. See the docs here
Adds tags to a given customer. See the docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lucca: {
type: "app",
app: "lucca",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.lucca.$auth.api_url}/api/v3/users`,
headers: {
"authorization": `lucca application=${this.lucca.$auth.api_key}`,
},
})
},
})
ChartMogul is an analytics platform designed to help subscription businesses analyze their revenue, churn, and other key performance indicators (KPIs). By leveraging the ChartMogul API, you can import, manipulate, and retrieve customer subscription data to gain insights into the financial health of your business. When used with Pipedream, you can automate complex workflows, combine subscription data with external tools, and react in real-time to changes in your subscription metrics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chartmogul: {
type: "app",
app: "chartmogul",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chartmogul.com/v1/ping`,
auth: {
username: `${this.chartmogul.$auth.account_token}`,
password: `${this.chartmogul.$auth.secret_key}`,
},
})
},
})