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 create a new exercise entry in your GymControl instance. It is useful for fitness trainers, gym managers, or app developers who want to automate adding exercises to their workout database. For example, you can use this node to programmatically add new exercises with names and optional images, enabling dynamic workout plan generation or syncing exercise data from other sources.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Whether to return the full API response or just the created exercise's essential details. |
| Name | The name of the exercise to be created (required). |
| Optional Fields | Additional optional fields for the exercise: |
| - Image | URL or identifier of an image representing the exercise (optional). |
Output
The node outputs JSON data representing the newly created exercise as returned by the GymControl API. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only the core details of the created exercise are provided. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with 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
- Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
- Validation errors: The "Name" property is required; missing it will cause the API to reject the request.
- Network issues: Verify connectivity to the GymControl API URL.
- Unexpected responses: Enable "Show Complete Response" to debug the full API reply.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n documentation on creating custom nodes