Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Asset → Get File
AI-generatedOverview
This node operation retrieves a file from the SiYuan workspace based on the specified file path. It is useful for workflows that need to access and process files stored within SiYuan, such as downloading images, documents, or other assets for further automation or analysis.
Use Case Examples
- Downloading an image file from the SiYuan workspace to use in a marketing automation workflow.
- Retrieving a document file to extract text content for processing or analysis.
Properties
| Name | Meaning |
|---|---|
| File Path | The path of the file within the SiYuan workspace to be retrieved. |
Output
JSON
fileContent- The content of the retrieved file, typically in a binary or encoded format depending on implementation.filePath- The path of the file that was retrieved from the SiYuan workspace.
Dependencies
- Requires SiYuan API URL and API Token credentials for authentication.
Troubleshooting
- Ensure the File Path is correct and the file exists in the specified location within the SiYuan workspace.
- Verify that the SiYuan API URL and Token credentials are correctly configured and have the necessary permissions.
- Common errors include authentication failures, file not found errors, and unsupported resource or operation errors.