The Trello List Workspaces action is used to list all workspaces belonging to a Trello user. This action allows workspaces belonging to the user to be dynamically displayed through your application. It is particularly preferred in team management, project organization, and workspace-based access scenarios.
Technical Specifications
Retrieve Workspace List: Returns all workspaces belonging to the user.
Parameter Compatibility:
settings (Object – required): Configuration information required for Trello integration.
Value Binding: A fixed value can be assigned to the parameter, or dynamic values can be bound via the Symbol Picker.
Multiple Results: Workspaces return in a Many format.
Web & Mobile Support: Works seamlessly on both web and mobile applications.
Trello List Workspaces Action Application Steps
1. Defining the Action in UI Design
Open your project on the Kuika platform.
In the UI Design module, select the screen where you want to retrieve the workspace list.
Add a button (e.g., “List Workspaces”).
Select the button and add the OnClick → Trello → List Workspaces action from the + ADD ACTION menu.
2. Configuring Parameters
settings (required): Select the defined settings for Trello integration.
Use Case: Show Workspaces Belonging to the User
In a project management application, the user can list all workspaces in their Trello account and select one to access the boards belonging to that workspace.
Steps:
Add a button in UI Design: “List Workspaces”.
Add the OnClick → Trello → Trello List Workspaces action.
Display the returned results in a SelectBox and Table element.
The selected workspaceId value can be connected to the Trello List Boards In Workspace action to retrieve the boards for that workspace.
Trello List Workspaces Advanced Customizations
Dynamic Selection: Users can view connected boards and lists by selecting different workspaces.
Chain Usage: The returned workspaceId values can be passed to actions such as Trello List Boards In Workspace or Trello Add List To Board.
Filtering: Workspaces can be filtered by name or creation date.
Technical Risks and Controls
The settings parameter must not be empty.
If the user does not have a workspace in their Trello account, an empty result is returned.
API access permissions must be configured correctly.