Unipile icon

Unipile

Interact with Unipile API

Overview

The node interacts with the Unipile API to retrieve information about a specific post. It is designed to fetch details of a single post by its unique identifier within a given account context. This operation is useful when you want to programmatically access post data for analysis, display, or further processing in an automation workflow.

Practical examples include:

  • Fetching a social media post's content and metadata to display in a dashboard.
  • Retrieving a post to analyze engagement metrics or comments.
  • Using post data as input for other automated processes like notifications or reporting.

Properties

Name Meaning
Post ID The unique identifier of the post to retrieve.
Account ID The identifier of the account that owns the post; used to scope the request appropriately.

Output

The node outputs JSON data representing the retrieved post. This JSON typically includes all relevant details of the post such as content, timestamps, author information, and any associated metadata provided by the Unipile API.

If the node supports binary data output (not indicated here), it would represent attachments or media related to the post, but based on the provided code and properties, the output focuses on JSON structured post data.

Dependencies

  • Requires an API key credential for authenticating with the Unipile API.
  • The base URL for API requests is configured via credentials (likely an environment-specific DSN).
  • Proper network connectivity to the Unipile API endpoint.

Troubleshooting

  • Missing or invalid Post ID or Account ID: The node requires both identifiers to be set; missing these will cause errors or empty responses.
  • Authentication errors: Ensure the API key credential is correctly configured and has necessary permissions.
  • API endpoint issues: Verify the base URL in credentials is correct and the Unipile service is reachable.
  • Unexpected response format: If the API changes, the node might fail to parse the response correctly.

Links and References

Discussion