Actions5
- Document Actions
Overview
This node interacts with the Lark Suite API to manage documents. Specifically, the 'Get Raw Content' operation retrieves the raw content of a specified document in a chosen language. This is useful for workflows that need to extract and process the unformatted text content of documents stored in Lark Suite, such as for text analysis, content migration, or integration with other systems.
Use Case Examples
- Extract raw content from a document to analyze its text in English.
- Retrieve raw content in Chinese for translation workflows.
- Fetch raw content in Japanese for localization or processing.
Properties
| Name | Meaning |
|---|---|
| Document ID | Unique identification of the document to retrieve raw content from. |
| Language | Language for the raw content to be retrieved (Chinese, English, or Japanese). |
Output
JSON
code- Status code of the API response, 0 indicates success.msg- Message from the API response, typically 'success' or error description.data- The raw content data of the document, structure depends on Lark Suite API response.
Dependencies
- Lark Suite API
Troubleshooting
- Ensure the provided Document ID is correct and the document exists in Lark Suite.
- Verify that the API credentials (app ID and secret) are valid and have the necessary permissions.
- If the API returns an error code, check the message for details and ensure the tenant access token is correctly obtained.
- Network issues or incorrect endpoint URLs can cause request failures.
Links
- Lark Suite Document API Documentation - Official documentation for Lark Suite document-related API endpoints, including raw content retrieval.