Actions105
- Messages Actions
- Homework Actions
- Absence Actions
- Calendar Actions
- Info Actions
Info → Get Attachment
AI-generatedSummary
Retrieve an attachment file from the Librus system's Info resource by specifying its path.
Inputs
- Custom method name — Optional override of the underlying librus-api method to call (e.g. getMarks). Defaults to calling the standard method for fetching files.
- attachmentPath (required) — The path of the attachment file to retrieve from Librus.
Output shape
A single item containing binary file data with base64 encoding under a binary property (default named 'data'), including MIME type 'application/octet-stream' and the file's original name extracted from the path.
The operation returns the content of the specified attachment as binary data. The property name for binary data can be configured but defaults to 'data'. If the specified file is not found or an error occurs, execution may fail.
Examples
Example 1: Fetch a PDF attachment from Librus to use downstream in the workflow.
Provide the exact path of the file to download in the 'attachmentPath' field.