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 a GymControl system to manage topics and users within those topics. Specifically, the "Add User To Topic" operation allows you to add a user to a notification topic in the GymControl platform. This is useful for scenarios where you want to programmatically subscribe users to specific notification channels or groups, such as sending targeted updates, announcements, or alerts related to gym activities or events.
Practical examples:
- Automatically adding new gym members to a welcome notification topic.
- Subscribing coaches or athletes to specific training update topics.
- Managing user subscriptions to different communication channels based on their roles or preferences.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean option to return the full API response instead of a simplified output. |
| Topic | The target topic to which the user will be added. Can be selected by ID or from a searchable list of existing topics. |
| User | The user to add to the topic. Can be selected by ID or from a searchable list of existing users. |
Output
The node outputs JSON data representing the result of the operation. This typically includes confirmation that the user was successfully added to the specified topic, along with any relevant metadata returned by the GymControl API.
If "Show Complete Response" is enabled, the output will include the full raw response from the API, which may contain additional details about the topic, user, or subscription status.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the GymControl API.
- The node uses the base URL and authentication token provided in the credentials to make HTTP requests.
- The GymControl API must have endpoints for managing topics and users accessible via the configured credentials.
Troubleshooting
Common issues:
- Invalid or expired API key: Ensure the API key credential is valid and has sufficient permissions.
- Topic or User not found: Verify that the selected topic and user IDs exist in the GymControl system.
- Network connectivity problems: Check network access to the GymControl API endpoint.
Error messages:
- Authorization errors (e.g., 401 Unauthorized): Confirm API key correctness and permissions.
- Not Found errors (e.g., 404): Check if the topic or user ID is correct and exists.
- Validation errors: Ensure all required parameters are provided and correctly formatted.
Resolving these usually involves verifying credentials, input parameters, and network connectivity.
Links and References
- GymControl API documentation (refer to your GymControl provider's official docs for detailed API usage)
- n8n documentation on resource locators and node configuration for dynamic lists and search functionality