Actions61
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
- 日历 Actions
- 多维表格 Actions
Overview
This node retrieves basic information about a document from the Feishu (Lark) cloud document service. It is designed for scenarios where you need to programmatically access metadata or details of a specific Feishu document by its unique identifier. Typical use cases include automating documentation workflows, integrating document data into other systems, or monitoring document status within business processes.
Practical Example:
You could use this node in an n8n workflow to fetch and log the title, author, and creation date of a Feishu document whenever a new document ID is received from another system.
Properties
| Name | Type | Meaning |
|---|---|---|
| 文档 ID | String | 文档的唯一标识。 The unique identifier of the document whose basic information you want to retrieve. This property is required. |
Output
- The output will be a JSON object containing the basic information of the specified Feishu document.
- If an error occurs and "Continue On Fail" is enabled, the output will contain an
errorfield with the error message (and possibly additional error details if available). - The exact structure of the successful output depends on the Feishu API response for document info, but typically includes fields such as document title, owner, creation time, etc.
Example output (structure may vary):
{
"document_id": "xxxxxx",
"title": "Project Plan",
"owner": "user@example.com",
"created_at": "2024-06-01T12:00:00Z"
}
If an error occurs:
{
"error": "Document not found"
}
Dependencies
- Feishu API Access: Requires valid Feishu API credentials (
feishuCredentialsApi) configured in n8n. - n8n Configuration: No special environment variables are needed beyond standard credential setup.
Troubleshooting
Missing Credentials:
Error: "No credentials found"
Solution: Ensure that Feishu API credentials are correctly set up in n8n.Invalid Document ID:
Error: "Document not found" or similar
Solution: Double-check the provided 文档 ID for typos or ensure the document exists and is accessible with your credentials.Unimplemented Method:
Error: "未实现方法: doc.doc:getInfo"
Solution: This indicates the requested resource/operation combination is not implemented in the node. Verify you have selected the correct resource and operation.API Errors:
Error: Contains details from the Feishu API (e.g., permission denied, rate limit exceeded).
Solution: Review the error message for specifics; check API permissions and quotas.