Appwrite Helper icon

Appwrite Helper

Utility node for building Appwrite queries, permissions, and schemas

Overview

The node is an Appwrite Helper utility designed to assist with building Appwrite queries, permissions, and schemas. Specifically, for the 'Extract File Metadata' operation, it extracts metadata from a binary file contained in a specified binary property of the input data. This is useful in workflows where file metadata needs to be retrieved for further processing or decision-making, such as extracting file size, type, or other attributes from uploaded files.

Use Case Examples

  1. Extract metadata from an uploaded image file to determine its dimensions and type before processing.
  2. Retrieve metadata from a document file to log its size and format for auditing purposes.

Properties

Name Meaning
Binary Property Name Specifies the name of the binary property in the input data that contains the file from which metadata will be extracted.

Output

JSON

  • metadata - Contains the extracted metadata of the file from the specified binary property.

Dependencies

  • Requires connection to Appwrite services for query and schema building.

Troubleshooting

  • If the specified binary property name does not exist or is empty, the node will fail to extract metadata. Ensure the binary property name matches the input data.
  • Errors related to Appwrite API connectivity or authentication may occur if credentials are not properly configured.
  • Common error messages include missing binary data or invalid file format, which can be resolved by verifying the input data and file type.

Links

Discussion