GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl API to manage user data within a gym management system. Specifically, the "User - Create" operation allows you to add new users by providing their personal and profile details. This is useful for automating member registration workflows, syncing user databases, or onboarding new gym members programmatically.

Practical examples include:

  • Automatically creating a new user when a signup form is submitted on a website.
  • Importing user data from another system into GymControl.
  • Adding users in bulk via automation workflows.

Properties

Name Meaning
Email The user's email address (required).
Name The user's first name (required).
Lastname The user's last name (required).
Phone Number The user's phone number (required).
Profile Picture URL or identifier of the user's profile picture (required).
Birthdate The user's birth date and time (required).
Status The user's account status; options are "Active" or "Disabled" (required).
Gender The user's gender, selectable either by ID or from a searchable list of genders (required).
Role The user's role, selectable either by ID or from a searchable list of roles (required).
Optional A collection of optional numeric properties: Height and Weight.
Show Complete Response Boolean setting to determine if the full API response should be returned instead of just data.

Output

The node outputs JSON data representing the newly created user as returned by the GymControl API. This typically includes all user details such as ID, name, contact info, status, gender, role, and any additional metadata.

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

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the GymControl API.
  • The base URL for the API must be configured in the node credentials.
  • The node uses HTTP requests to communicate with the GymControl REST endpoints.

Troubleshooting

  • Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
  • Validation errors: Required fields like email, name, lastname, phone number, profile picture, birthdate, status, gender, and role must be provided and correctly formatted.
  • Resource locator issues: When selecting gender or role by list, ensure the search returns valid entries; otherwise, provide correct IDs.
  • API connectivity: Verify network access to the GymControl API endpoint and that the base URL is correctly set.
  • Unexpected responses: Enable "Show Complete Response" to debug the full API reply.

Links and References

Discussion