FlowmageDocs

Approve or reject time off

BetaChanges data

Approves or rejects a Clockify time off request.

Settings

SettingWhat it is
ConnectionRequiredThe Clockify connection the step signs in with.
Workspace id overrideLeave empty to use the workspace on the connection. Pick another workspace the same key can reach, or type its id — the List workspaces node gives you the ids.
Policy idRequiredThe policy the request was filed under.
Request idRequiredThe List time off requests node gives you the id.
Decision"APPROVED" or "REJECTED"
NoteWhat the person reads with the decision.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `clockify`)
workspaceIdtexta value from the vendor's own list
policyIdtext
requestIdtext
status"APPROVED" or "REJECTED", by default "APPROVED"
notetext

Output

FieldType
requestIdstring
requestTime off requestobject
Sample output, and the expression for each field
  • request
    • id"r-1"
  • requestId"r-1"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "note": "",
    "policyId": "<policy id>",
    "requestId": "<request id>",
    "status": "APPROVED",
    "workspaceId": ""
  },
  "label": "Approve or reject time off",
  "type": "clockify.setTimeOffRequestStatus",
  "version": 1
}