Get workspace details action
- Updated: 2026/04/22
The Get workspace details action enables you to retrieve key information about the connected Slack workspace, such as its name, domain, and other workspace-level details. This enables you to confirm workspace settings, verify connections, and use workspace information in your automations.
Settings
- Use the Session name field to select one of the following
options:
- Session name: Enter the name of the session used
during the Connect
action.
(Optional) Click the Insert a value icon to select an existing variable that you have used to store the default session name.
- Variable: Enter the name of the variable that you have used to store the Slack session name.
- Session name: Enter the name of the session used
during the Connect
action.
- Workspace ID: Specify the workspace ID. See Get workspace ID by name action
- Assign workspace details to a variable: choose either
Multiple variables or Dictionary
variable to save the message details in the output variable:
- Multiple variables: Assigns each retrieved value
of a specific key (for example, channelsCount, membersCount, webURL,
workspaceName, ID, userName, userID) to a separate variable enabling you
to map each detail to a specific variable. Do following steps for each
variable:
- Click Add variable mapping.
- Enter the Key of the variable.
- In the Map to variable field, choose a variable where the data will be saved.
- Click Add for this data to be saved to the configured variable.
Table 1. Keys with variable mapping Key Description Variable type ID Unique identifier assigned to the Slack message String workspaceName Name of the Slack workspace. String membersCount Total number of members in the workspace. Number webURL URL to access the workspace. String userName Name of the user associated with the workspace session. String userID Unique identifier of the user associated with the workspace. String - Dictionary: stores all values in a dictionary object with key-value pairs.
- Multiple variables: Assigns each retrieved value
of a specific key (for example, channelsCount, membersCount, webURL,
workspaceName, ID, userName, userID) to a separate variable enabling you
to map each detail to a specific variable. Do following steps for each
variable: