Put.io icon

Put.io

Interact with Put.io API

Overview

This node integrates with the Put.io API to perform various file management operations such as listing files, retrieving file details, downloading files, creating folders, and uploading files. The 'Upload File' operation allows users to upload a file from binary data within the workflow to a specified folder on Put.io. This is useful for automating file transfers to Put.io cloud storage, for example, uploading processed files or backups directly from an automation workflow.

Use Case Examples

  1. Uploading a processed image or document from a previous node to a specific folder in Put.io.
  2. Creating a new folder and then uploading files into it automatically.
  3. Listing files in a folder to verify contents before performing further actions.

Properties

Name Meaning
Binary Property Name of the binary property which contains the data for the file to be uploaded.
File Name Name of the file to be uploaded.
Parent Folder ID The ID of the parent folder where the file will be uploaded.

Output

JSON

  • files - Array of files returned when listing files, excluding folders.
  • folders - Array of folders returned when listing files.
  • id - File ID when retrieving file details.
  • name - File or folder name.
  • downloadUrl - URL to download a file when using the download operation.
  • error - Error message if an operation fails and continueOnFail is enabled.

Dependencies

  • Put.io API
  • An API key credential for Put.io

Troubleshooting

  • Invalid folder ID error occurs if the folder ID is not a number when listing files. Ensure the folder ID is numeric.
  • File not found error occurs if the specified file path does not exist when getting or downloading a file. Verify the file path is correct.
  • Binary data missing error occurs if the specified binary property does not exist on the input item when uploading a file. Ensure the binary property name matches the input data.
  • API request failures may occur due to invalid credentials or network issues. Verify API credentials and network connectivity.

Links

Discussion