with Workflow Max and Click & Sign?
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: {
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
click_sign: {
type: "app",
app: "click_sign",
}
},
async run({steps, $}) {
const data = {
"request": `GET_CONFIG_LIST`,
"user": `${this.click_sign.$auth.username}`,
}
return await axios($, {
method: "post",
url: `https://api.lleida.net/cs/v1/get_config_list`,
headers: {
"authorization": `x-api-key ${this.click_sign.$auth.api_key}`,
},
data,
})
},
})