SeaTable icon

SeaTable

Consume the SeaTable API

Asset → Upload

AI-generated

Overview

This node uploads a file as an asset to a specified SeaTable table and column. It is useful for automating the process of adding or updating files in SeaTable rows, such as uploading images, documents, or other binary data to a SeaTable base. For example, it can be used to upload a user profile picture to a SeaTable record or to attach a PDF report to a project entry.

Use Case Examples

  1. Uploading a product image to a product catalog table in SeaTable.
  2. Appending a new document to a list of files in a project management table.

Properties

Name Meaning
Table Name The name of the SeaTable table to access where the asset will be uploaded.
Column Name The column in the table where the file will be uploaded.
Row ID The ID of the row in the table where the asset will be uploaded.
Property Name The name of the binary property in the input data that contains the file data to be uploaded.
Replace Existing File Whether to replace an existing file with the same name (true) or upload a new version with a different name (false).
Append to Column Whether to keep existing files/images in the column and append the new asset (true) or remove existing files/images before uploading (false).

Output

JSON

  • success - Indicates if the upload operation was successful.
  • fileName - The name of the uploaded file.
  • rowId - The ID of the row where the file was uploaded.

Dependencies

  • SeaTable API access with appropriate credentials

Troubleshooting

  • Ensure the table name, column name, and row ID are correct and exist in the SeaTable base.
  • Verify that the binary property name matches the input data containing the file to upload.
  • If 'Replace Existing File' is true, conflicts may occur if the file is locked or in use; try setting it to false to upload a new version.
  • Check API credentials and permissions to ensure the node can write to the specified table and column.

Discussion