Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
Overview
The node interacts with the GymControl API to retrieve detailed information about a specific workout within a worksheet. This is useful for gym management systems where you want to fetch and process workout details assigned in a particular worksheet, such as for displaying workout plans, tracking progress, or integrating workout data into other workflows.
A practical example would be automating the retrieval of a workout's details from a given worksheet to send personalized workout summaries to clients or to analyze workout data for reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean option to return the full API response instead of just the processed data. |
| Worksheet ID | The unique identifier of the worksheet containing the workout. |
| Workout ID | The unique identifier of the workout to retrieve. Can be selected by ID or from a searchable list of workouts within the specified worksheet. |
Output
The node outputs JSON data representing the requested workout's details from the specified worksheet. The structure includes all relevant workout information as provided by the GymControl API under the workouts array filtered by the workout ID.
If "Show Complete Response" is enabled, the entire raw API response is returned, which may include additional metadata beyond the workout details.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The base URL for the API is configured via credentials.
- The node uses HTTP GET requests to fetch data from endpoints like
/worksheet/{worksheetId}.
Troubleshooting
Common issues:
- Invalid or missing Worksheet ID or Workout ID will cause the request to fail or return no data.
- Authentication errors if the API key is invalid or missing.
- Network or connectivity issues preventing access to the GymControl API.
Error messages:
- Authorization errors typically indicate problems with the API key; verify the credential setup.
- "Not Found" errors suggest the worksheet or workout ID does not exist or is incorrect.
- Timeout or connection errors require checking network access and API availability.
Links and References
- GymControl API documentation (not provided here, but users should consult their official API docs for endpoint details).
- n8n documentation on creating and using custom nodes with API credentials.