Visually track, manage and automate your business processes.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
ProcessPlan is a process management tool with an API that lets you automate and track workflows. On Pipedream, you can use this API to create intricate automations, which can involve triggering workflows in ProcessPlan, updating tasks, pulling data from process templates, or integrating with other services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
processplan: {
type: "app",
app: "processplan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.processplan.$auth.regional_subdomain}.processplan.com/api/v4/user/me/personal_instance_task/list/pending/count`,
headers: {
"tkn_id": `${this.processplan.$auth.api_token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS