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 interacts with the GymControl API to retrieve users associated with a specific notification topic. It is useful in scenarios where you want to manage or analyze users subscribed to particular topics within your gym management system, such as sending targeted notifications or generating reports on user engagement per topic.
For example, if you have a topic for "Yoga Class Updates," this node can fetch all users subscribed to that topic, enabling you to send them updates or track their participation.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Whether to return the full API response (true) or just the processed data (false). |
| Topic | The identifier of the topic to get users from. Can be selected by ID or from a searchable list. |
- Topic property supports two modes:
- By ID: Enter the topic's unique identifier directly.
- From List: Select a topic from a searchable dropdown list populated dynamically from existing topics.
Output
The node outputs JSON data containing the list of users associated with the specified topic. The structure typically includes user details such as names and IDs. If "Show Complete Response" is enabled, the output will include the entire raw response from the GymControl API, which may contain additional metadata.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The node uses the base URL and API key provided in the credentials to make HTTP requests.
- The environment must allow outbound HTTPS requests to the GymControl API endpoint.
Troubleshooting
Common Issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing an incorrect or non-existent topic ID will result in empty or error responses.
- Network connectivity issues can prevent successful API calls.
Error Messages:
- Authentication errors typically indicate invalid API keys; verify and update credentials.
- "Topic not found" or similar errors suggest the topic ID does not exist; confirm the topic selection.
- Timeout or network errors require checking internet connectivity and firewall settings.
Links and References
- GymControl API Documentation (for reference on topics and users endpoints)
- n8n Documentation on creating and using custom nodes with API credentials