Hudu icon

Hudu

Interact with Hudu REST API

Public Photo → Create

AI-generated

Overview

This node operation allows users to upload a public photo to the Hudu platform, associating the photo with a specific record type and record ID. It is useful for scenarios where users need to programmatically add images to records such as articles or other entities within Hudu, enhancing documentation or asset management workflows.

Use Case Examples

  1. Uploading a photo to an article record to visually document the content.
  2. Adding a public photo to a specific asset or record type for better identification or presentation.

Properties

Name Meaning
Photo The name of the binary property containing the photo to upload, specifying which binary data to use for the photo.
Record Type The type of record the photo will be associated with, such as 'Article' or other record types supported by Hudu.
Record ID The ID of the record the photo will be associated with, linking the uploaded photo to the correct entity in Hudu.

Output

JSON

  • id - The unique identifier of the uploaded public photo.
  • record_type - The type of record the photo is associated with.
  • record_id - The ID of the record the photo is linked to.
  • url - The URL where the uploaded photo can be accessed.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Ensure the binary property name specified in 'Photo' matches the actual binary data property in the input item; otherwise, the photo upload will fail.
  • Verify that the 'Record Type' and 'Record ID' are valid and exist in Hudu to avoid association errors.
  • Common errors include authentication failures due to invalid API credentials and missing required parameters; check credentials and input parameters if errors occur.

Links

Discussion