GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl API to manage "Ceiling" resources, specifically allowing users to create new ceiling records. A "ceiling" in this context likely represents a limit or threshold related to exercises and users within a gym management system. The node is useful for fitness professionals or gym administrators who want to programmatically set or update exercise-related limits (e.g., maximum weight) for specific users.

Practical examples include:

  • Setting a maximum weight limit for a particular exercise for an athlete.
  • Automating the creation of ceilings when onboarding new users or updating training plans.

Properties

Name Meaning
Show Complete Response Boolean flag to determine if the full API response should be returned by the node.
Weight Numeric value representing the ceiling weight limit; must be at least 1.
Exercise Reference to the exercise associated with the ceiling. Can be selected by ID or from a list.
User Reference to the user for whom the ceiling applies. Can be selected by ID or from a list.

Output

The node outputs JSON data containing the result of the ceiling creation request. This typically includes details of the newly created ceiling such as its ID, associated user and exercise IDs, and the weight limit set.

If the "Show Complete Response" property is enabled, the output will include the entire API response, which may contain additional metadata or status information.

No binary data output is involved.

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.
  • Uses HTTP requests to communicate with the GymControl REST API endpoints.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly configured and has sufficient permissions.
  • Validation errors: The "Weight" property must be a number greater than or equal to 1. Providing invalid values will cause the API to reject the request.
  • Resource not found: Selecting an invalid or non-existent exercise or user ID will result in errors. Use the provided search functionality to select valid references.
  • Network issues: Verify connectivity to the GymControl API endpoint and that the base URL is correct.

Links and References

  • GymControl API documentation (not provided here, but recommended to consult for detailed API behavior)
  • n8n documentation on creating custom nodes and using resource locators for dynamic selection

Discussion