GravitySocial icon

GravitySocial

Interact with GravitySocial API

Overview

This node integrates with the GravitySocial API to manage social media posts within a specified workspace. The "Post" resource with the "Get" operation allows users to retrieve detailed information about a specific post by its UUID. This is useful for workflows that need to fetch and process individual post data, such as monitoring post status, extracting content for reporting, or triggering actions based on post details.

Practical examples:

  • Fetching a post's content and metadata to display in a dashboard.
  • Retrieving a post before updating or deleting it.
  • Using post details to trigger notifications or further automation steps.

Properties

Name Meaning
Workspace UUID The unique identifier (UUID) of the workspace containing the post.
Post UUID The unique identifier (UUID) of the specific post to retrieve.

Output

The node outputs JSON data representing the requested post. The structure typically includes all relevant post details as returned by the GravitySocial API, such as content, associated accounts, tags, scheduling info, status, and metadata.

If multiple items are processed, the output is an array of post objects. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential for authenticating with the GravitySocial API.
  • The node expects the base URL and access token from the configured credentials.
  • No additional environment variables are required beyond the API authentication setup.

Troubleshooting

  • Common issues:

    • Invalid or missing Workspace UUID or Post UUID will cause the request to fail.
    • Authentication errors if the API key or token is incorrect or expired.
    • Network connectivity issues preventing access to the GravitySocial API.
  • Error messages:

    • HTTP 401 Unauthorized: Check that the API key credential is correctly configured and valid.
    • HTTP 404 Not Found: Verify that the Workspace UUID and Post UUID exist and are correct.
    • Validation Error (HTTP 422): Indicates invalid input parameters; ensure UUIDs are properly formatted.
    • Request failures may include detailed error messages from the API response to help diagnose issues.

To resolve errors, verify all input properties, confirm API credentials, and check network connectivity.

Links and References

Discussion