GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl system to manage social links associated with a gym or fitness center. Specifically, the "Social" resource with the "Create" operation allows users to add new social media entries by specifying details such as the name of the social platform, its URL, and an icon representing it.

Common scenarios for this node include automating the addition of social media links to a gym's profile or website, syncing social links from other systems, or managing social presence programmatically within workflows.

For example, a user might use this node to automatically add a new Instagram link whenever a marketing campaign is launched, ensuring all social profiles are up-to-date without manual intervention.

Properties

Name Meaning
Show Complete Response Boolean option to return the full API response instead of just the created social data.
Name The display name of the social media platform (e.g., "Instagram", "Facebook").
URL The web address linking to the social media profile or page.
Icon A string identifier or URL representing the icon associated with the social platform.

Output

The node outputs JSON data representing the newly created social media entry in the GymControl system. This typically includes fields such as the social link's ID, name, URL, icon, and possibly metadata returned by the API.

If the "Show Complete Response" property is enabled, the output will contain the entire API response, which may include additional information beyond the created social link's basic details.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the GymControl API.
  • The base URL for the GymControl instance must be configured in the node credentials.
  • The node sends HTTP requests with JSON payloads to the GymControl API endpoints.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly set up and has sufficient permissions to create social links.
  • Validation errors: The "Name," "URL," and "Icon" properties are required. Missing or invalid values may cause the API to reject the request.
  • Network issues: Verify connectivity to the GymControl API endpoint and that the base URL is correct.
  • Unexpected API responses: Enabling "Show Complete Response" can help debug by revealing the full API response.

Links and References

  • GymControl API documentation (refer to your GymControl provider for exact URLs)
  • n8n documentation on creating custom nodes and using HTTP Request nodes

Discussion