Actions106
- 日历 Actions
- 多维表格 Actions
- 知识库 Actions
- 通讯录 Actions
- 任务 Actions
- 电子表格 Actions
- 云空间 Actions
- 消息 Actions
- 云文档 Actions
Overview
This node is designed to create a new document within a cloud document service (referred to as "云文档"). It allows users to specify the title of the document and optionally place it inside a specific folder by providing a folder token. This node is useful for automating document creation workflows, such as generating reports, meeting notes, or any textual content that needs to be programmatically created and organized in a cloud environment.
Practical examples include:
- Automatically creating daily status reports with predefined titles.
- Generating project documentation files inside designated folders based on project tokens.
- Creating templates or draft documents triggered by other workflow events.
Properties
| Name | Meaning |
|---|---|
| 文档标题 | The title of the document to be created. Supports plain text only, length between 1 and 800 characters. |
| 文件夹 Token | The token identifying the folder where the document will be placed. If omitted or empty, the document will be created in the root directory. |
Output
The node outputs JSON data representing the newly created document's details. This typically includes metadata such as the document ID, title, URL, creation timestamp, and possibly other relevant attributes returned by the cloud document service API.
No binary data output is indicated in the source code or properties.
Dependencies
- Requires an API key credential for authenticating with the cloud document service.
- The node depends on an external resource factory module to build its operations dynamically.
- Proper configuration of the API authentication credentials in n8n is necessary for successful execution.
Troubleshooting
Common issues:
- Providing an invalid or expired folder token may cause the document creation to fail or place the document in an unintended location.
- Document title exceeding the allowed length or containing unsupported characters might result in errors.
- Missing or incorrect API credentials will prevent the node from authenticating and performing the operation.
Error messages:
- Errors related to unimplemented methods for the specified resource-operation combination indicate misconfiguration or missing implementation in the node.
- API-related errors will typically return messages from the cloud document service; ensure credentials and parameters are correct.
- To resolve errors, verify input parameters, check API credentials, and consult logs for detailed error messages.
Links and References
- Refer to the official cloud document service API documentation for details on document creation and folder token usage.
- Consult n8n documentation on how to configure API credentials and handle errors in custom nodes.