Unipile icon

Unipile

Interact with Unipile API

Overview

This node integrates with the Unipile API, specifically allowing interaction with various resources such as Account, Calendar, Email, LinkedIn, Messaging, Post, User, and Webhook. For the Account resource with the Hosted Link operation, the node sends a raw JSON body to request or manage a hosted link related to an account connection.

Typical use cases include automating account connections or retrieving hosted links for accounts managed within Unipile, which can be useful in workflows that require dynamic account linking or integration setup without manual intervention.

Example: Automatically generating a hosted link for a user’s account connection during onboarding or synchronization processes.

Properties

Name Meaning
Body (JSON) Raw JSON object sent as the request body when connecting an account via a hosted link. This allows flexible specification of parameters required by the Unipile API for this operation.

Output

The node outputs JSON data returned from the Unipile API corresponding to the hosted link operation on the account resource. The exact structure depends on the API response but typically includes details about the hosted link such as URLs, tokens, or status information.

If the API returns binary data (not indicated here), it would represent downloadable content or files related to the hosted link, but based on the provided code and properties, output is expected to be JSON only.

Dependencies

  • Requires an API key credential for authenticating with the Unipile API.
  • The base URL for API requests is dynamically set from the credential's DSN (Data Source Name).
  • The node expects the Unipile API to accept and return JSON-formatted data.

Troubleshooting

  • Invalid JSON in Body (JSON) property: Ensure the JSON entered is valid; otherwise, the API request will fail.
  • Authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • API endpoint issues: Confirm that the DSN URL in credentials is correct and accessible.
  • Unexpected API responses: Check the raw response for error messages or status codes indicating issues like rate limiting or invalid parameters.

Links and References

Discussion