Actions106
- 日历 Actions
- 多维表格 Actions
- 知识库 Actions
- 通讯录 Actions
- 任务 Actions
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
Overview
This node, named "Feishu Node," provides integration with a spreadsheet service to write images into specified cells of a spreadsheet. It is designed for scenarios where users want to programmatically insert images into spreadsheets, such as adding product photos, charts, or scanned documents directly into a sheet.
A practical example would be automating the insertion of user-uploaded images into a report spreadsheet, specifying exactly which cell range should contain the image.
Properties
| Name | Meaning |
|---|---|
| 电子表格 Token | The token used to authenticate and access the spreadsheet. |
| 范围 | The target cell range in the spreadsheet where the image will be written. Format: <sheetId>!<startCell>:<endCell>. |
| 图片二进制字段 | The binary data field containing the image to be written into the spreadsheet. |
| 图片名称 | The name of the image file to be written, including its file extension (e.g., .png). |
Output
The node outputs JSON data representing the result of the image writing operation. Each output item corresponds to an input item processed, enriched with metadata about the execution. If the operation fails on some items but continues due to error handling settings, the output includes error details for those items.
The node does not explicitly output binary data itself; it consumes binary image data from the input.
Dependencies
- Requires an API token credential to authenticate with the spreadsheet service.
- The node depends on the presence of binary image data in the input under the specified binary field.
- No other external services or environment variables are explicitly required based on the static code analysis.
Troubleshooting
Common issues:
- Incorrect or expired spreadsheet token leading to authentication failures.
- Invalid range format causing errors when specifying the target cell(s).
- Missing or incorrectly referenced binary image data field.
- Image name missing a proper file extension, which might cause the spreadsheet service to reject the image.
Error messages:
- Errors related to unimplemented operations if the resource-operation combination is not supported.
- API errors returned by the spreadsheet service, surfaced as node errors.
- Validation errors if required properties are missing or malformed.
To resolve these, ensure:
- The token is valid and has appropriate permissions.
- The range string follows the correct format.
- The binary field contains valid image data.
- The image name includes a proper suffix like
.pngor.jpg.
Links and References
No direct links are provided in the source code. For more information, consult the documentation of the spreadsheet service API that supports image insertion.