Actions11
Get Workstation
AI-generatedOverview
This node integrates with Google Cloud Workstations via the Google Workstations API. It allows users to manage and interact with their cloud-based development workstations programmatically within n8n workflows.
The "Get Workstation" operation retrieves details about a specific workstation configuration in a given Google Cloud project. This is useful for monitoring, auditing, or automating tasks related to cloud workstations.
Practical examples:
- Fetching the current configuration and status of a workstation before triggering further automation.
- Integrating workstation data into dashboards or reports.
- Using workstation info as input for conditional workflow branches.
Properties
| Name | Meaning |
|---|---|
| Project ID | Select or enter your Google Cloud project ID. Options: - From List (searchable list of projects) - ID (manual string input) |
| Is Global Data | Boolean flag indicating whether to use global static data storage instead of workflow-specific data. |
| Global Data | JSON object containing global data to be used if "Is Global Data" is true. |
Output
The output json field contains the full response from the Google Workstations API for the specified project’s workstation resource. This typically includes:
- Workstation configuration details such as name, location, cluster, workspace identifiers.
- Metadata about the workstation environment.
- Access tokens or authentication-related information if applicable.
The exact structure depends on the Google Workstations API response but generally provides comprehensive details about the requested workstation.
No binary data output is produced by this operation.
Dependencies
- Requires an OAuth2 API credential configured for Google APIs with appropriate scopes to access Google Workstations.
- The node uses the Google Workstations REST API endpoint under
https://workstations.googleapis.com/v1beta/. - No additional external services are required beyond Google Cloud and its authentication.
Troubleshooting
- Missing or invalid Project ID: Ensure that the Project ID is correctly selected or entered. If using the list mode, verify that the connected Google account has access to the projects.
- Authentication errors: Confirm that the OAuth2 credentials are valid and have not expired. Re-authenticate if necessary.
- API permission issues: The authenticated user must have sufficient permissions on the Google Cloud project to retrieve workstation details.
- Unsupported operation error: This node only supports predefined operations; ensure "Get Workstation" is selected for this functionality.
- Network or API errors: Check network connectivity and Google Cloud service status if requests fail unexpectedly.