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 various resources related to a gym management system. Specifically, for the Role - Get operation, it retrieves information about roles defined in the GymControl instance. This can be useful for workflows that need to fetch role details for users or permissions management within the gym environment.
Practical examples include:
- Fetching a specific role's details to assign it to a new user.
- Retrieving role information to display or audit user permissions.
- Integrating role data into other systems like CRM or access control.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | If enabled, returns the full raw response from the API instead of just the processed data. |
Output
The node outputs JSON data representing the role information retrieved from the GymControl API. The structure typically includes fields such as role ID, name, and possibly other metadata related to the role.
If "Show Complete Response" is enabled, the output will contain the entire API response object, which may include additional metadata beyond the role details.
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 connectivity to the GymControl API endpoint is necessary.
Troubleshooting
- Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
- Network issues: Verify that the base URL is correct and accessible from the n8n environment.
- Resource not found: If a requested role ID does not exist, the API may return an error or empty response.
- Incomplete data: If "Show Complete Response" is disabled, some detailed metadata might be omitted; enable it to debug.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n documentation on creating custom nodes