List workspaces
BetaReads data
Shows which Clockify workspaces this key can reach, and their ids.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Clockify connection the step signs in with. |
| Only where the key's user is | "" or "WORKSPACE_ADMIN" or "OWNER" or "TEAM_MANAGER" or "PROJECT_MANAGER" |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `clockify`) |
roles | "" or "WORKSPACE_ADMIN" or "OWNER" or "TEAM_MANAGER" or "PROJECT_MANAGER" |
Output
| Field | Type |
|---|---|
workspaces | array |
workspaceCountWorkspaces in this answer | number |
Sample output, and the expression for each field
- workspaceCount0
- workspaces[]
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>",
"roles": ""
},
"label": "List workspaces",
"type": "clockify.listWorkspaces",
"version": 1
}