with Ironclad and Pennylane?
Emit new event when a fresh approval event is generated.
Emit new event when a workflow document event is freshly established.
Emit new event when a billing subscription is created.
Emit new event when a new workflow event is created.
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: {
ironclad: {
type: "app",
app: "ironclad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ironcladapp.com/scim/v2/Users`,
headers: {
Authorization: `Bearer ${this.ironclad.$auth.oauth_access_token}`,
},
params: {
startIndex: `1`,
count: `25`,
},
})
},
})
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`
},
})
},
})