with Pennylane and PersistIQ?
Emit new event when a billing subscription is created.
Emit new events when a new prospect was created. See the docs
Emit new event when a new invoice is created or imported.
Creates a billing subscription for a customer. See the documentation
Generates a new invoice for a customer using Pennylane. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pennylane: {
type: "app",
app: "pennylane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pennylane.com/api/external/v1/me`,
headers: {
Authorization: `Bearer ${this.pennylane.$auth.oauth_access_token}`,
"Accept": `application/json`
},
})
},
})
PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management. By leveraging the PersistIQ API on Pipedream, you can craft intricate automation workflows that enhance lead management, align sales communications, and improve team productivity. This API interaction enables real-time synchronization of lead data, automated campaign actions, and analytics integration, fostering a seamless sales operation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
persistiq: {
type: "app",
app: "persistiq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.persistiq.com/v1/users`,
headers: {
"x-api-key": `${this.persistiq.$auth.api_key}`,
},
})
},
})