Discussions
Handle Workflows via API / Token
about 1 year ago by Philipp
Hi Personio team,
I am very interested in marking workflow steps finished, via script/custom code. Afaik, that is a POST form in the HTML that is signed with a session token from the current user. Handling the employeeID, workflow and step is easy, so the only problem would be authentication.
Wouldn't that make a great feature in the new API?
If I am allowed to dream I would wish for something like
- GetWorkflows (all available)
- GetWorkflowSteps (of a specific workflow, so all info as json or so)
- SetWorkflowStepFinished (with given employee, workflow and step)
- SetWorkflowStepFields (fill the fields of a step, to give information back to the HR team ect.)
- Webhook if a step is finished, selectable by step
- Webhook if a workflow is assigned to a employee
Custom code or links in workflow steps would also be nice, but that is not directly an API topic...
- Generate text in a step that has variables like in the mail feature, same for links in a text field
- Passing form data from a step to a external endpoint would be nice, too. The experience for the user would be great if they can fill information in personio that could then be handled in other tools or custom code