with Factorial (API Keys) and Workflow Max?
Creates a new Client Group in Workflow Max. See the documentation
Deletes the specified client group. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
factorial_api_keys: {
type: "app",
app: "factorial_api_keys",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.factorialhr.com/api/2025-10-01/resources/api_public/credentials`,
headers: {
"x-api-key": `${this.factorial_api_keys.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
workflow_max: {
type: "app",
app: "workflow_max",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.workflowmax.com/me`,
headers: {
Authorization: `Bearer ${this.workflow_max.$auth.oauth_access_token}`,
"account_id": `${this.workflow_max.$auth.account_id}`,
},
})
},
})