with Ironclad and pdforge?
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 new workflow event is created.
Updates the metadata of an existing workflow. 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: {
pdforge: {
type: "app",
app: "pdforge",
}
},
async run({steps, $}) {
const data = {
"templateId": `${this.pdforge.$auth.template_id}`,
"data": `john@fabrikam.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdforge.com/v1/pdf/sync`,
headers: {
Authorization: `Bearer ${this.pdforge.$auth.api_key}`,
},
data,
})
},
})