Skip to content

Feishu Upload Files

Function Description

TIP

Upload files from Feishu application to Feishu server

Configuration Item Description

General

Command Input

  • Feishu Application ObjectTFeiShu: The Feishu application object created using the Feishu application scope

  • File typeInteger: Feishu file type, optional value options include [opus, mp4, pdf, doc, xls, ppt, stream]

  • File NameString: The name of the image to be sent

  • File PathString: The path of the file to be uploaded

Command Output

  • File IDString: The file ID returned after uploading is completed

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None