with Ironclad and Autotask PSA?
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: {
autotask_psa: {
type: "app",
app: "autotask_psa",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.autotask_psa.$auth.url}V1.0/ClientPortalUsers/query`,
headers: {
"UserName": `${this.autotask_psa.$auth.username}`,
"Secret": `${this.autotask_psa.$auth.password}`,
"ApiIntegrationCode": `${this.autotask_psa.$auth.api_integration_code}`,
},
params: {
search: `{
"filter": [
{
"op": "gt",
"field": "id",
"value": "1"
}
]
}`,
},
})
},
})