GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl API to update social media entries associated with a gym or fitness business. Specifically, the "Social" resource's "Update" operation allows users to modify details of an existing social media record by specifying its ID and new values for name, URL, and icon.

Common scenarios include:

  • Updating the URL of a social media profile after a rebranding or change in platform.
  • Changing the display name or icon associated with a social media link on a website or app.
  • Keeping social media links current in automated workflows that sync gym data across platforms.

Practical example:

  • A gym manager uses this node to update the Facebook page URL after changing the page name, ensuring all marketing materials reflect the new link automatically.

Properties

Name Meaning
Show Complete Response Boolean flag to determine if the full API response should be returned by the node.
ID The unique identifier of the social media entry to update (required).
Options Collection of fields to update:
- Name New name for the social media entry (string).
- URL New URL for the social media profile (string).
- Icon New icon identifier or URL representing the social media platform (string).

Output

The node outputs JSON data representing the updated social media entry as returned by the GymControl API. This typically includes the updated fields such as ID, name, URL, and icon, along with any metadata provided by the API.

If the "Show Complete Response" property is enabled, the output will contain the full API response object, which may include additional status or metadata fields beyond the updated social media data.

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 access to the GymControl API endpoint is necessary.

Troubleshooting

  • Missing or invalid ID: The update operation requires a valid social media entry ID. Ensure the ID is correct and corresponds to an existing record.
  • Authentication errors: If the API key or base URL is incorrect or missing, the node will fail to authenticate. Verify credential configuration.
  • Invalid field values: Providing malformed URLs or unsupported icon identifiers may cause the API to reject the update. Validate input formats before execution.
  • API connectivity issues: Network problems or GymControl service downtime can result in request failures. Check network connectivity and GymControl service status.
  • Unexpected API responses: Enabling "Show Complete Response" can help debug by revealing full API error messages.

Links and References

Discussion