Get workspace id by name
Find a workspace's id from its name or domain, among the workspaces the agent's app is installed in.
Command in the Slack toolkit · id ooa.slack/get_workspace_id_by_name · 3 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Bot token | Credential | Yes | Slack bot token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Name | String | Yes | Workspace name or domain (not case-sensitive). | |
| Endpoint address | String | No | https://slack.com/api | API endpoint; change only for testing. |
Outputs
| Output | Type | What it is |
|---|---|---|
| workspace_id | String | Workspace (team) id, e.g. T0123456789. |