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
This node integrates with the GymControl API to manage and retrieve data related to gym management. Specifically, the "Exercise" resource with the "Get Many" operation allows users to fetch multiple exercise records from their GymControl instance. This is useful for scenarios where you want to list all exercises available in the gym system, such as syncing exercise data with other platforms, generating reports, or automating workout plan creation.
For example, a fitness app could use this node to pull all exercises from GymControl to display them to users or to update its own database with the latest exercise information.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | When enabled, returns the full API response including metadata; otherwise, only the main data array of exercises is returned. |
Output
The node outputs JSON data containing the list of exercises retrieved from the GymControl API. The structure typically includes an array of exercise objects, each representing an individual exercise with its properties (such as name, id, description, etc.). If "Show Complete Response" is enabled, the output will include the entire API response, which may contain additional metadata beyond just the exercise list.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The node expects the base URL of the GymControl instance to be configured in the credentials.
- Network access to the GymControl API endpoint is necessary.
Troubleshooting
Common Issues:
- Authentication failures due to invalid or missing API keys.
- Network connectivity problems preventing access to the GymControl API.
- Receiving empty results if no exercises exist or filters exclude all entries.
Error Messages:
- Authorization errors typically indicate issues with the API key; verify the key and permissions.
- HTTP request failures might suggest incorrect base URL configuration or network issues.
- Unexpected response formats could mean API changes; ensure the node and API versions are compatible.
Resolving these usually involves checking credential correctness, ensuring the GymControl instance URL is accurate, and verifying network connectivity.
Links and References
- GymControl Official API Documentation (example link, replace with actual)
- n8n Documentation on Creating Custom Nodes