Overview
The Caspio node for n8n enables integration with the Caspio API, specifically for managing files within Caspio's platform.
With the File → GetAll operation, this node retrieves all files from a specified folder in your Caspio account. This is useful for automating file management tasks, such as listing available documents, images, or other assets stored in Caspio folders.
Common scenarios:
- Listing all files in a specific Caspio folder for further processing.
- Automating backups or audits of files stored in Caspio.
- Triggering workflows based on the presence or absence of files in a folder.
Example:
You could use this node to fetch all files from a "Reports" folder and then send them via email, archive them, or process their metadata in subsequent workflow steps.
Properties
| Name | Type | Meaning |
|---|---|---|
| Folder Id | String | Id of the Caspio folder from which to retrieve files. |
| Binary Property | String | (Not used in GetAll) Name of the binary property for uploads; not relevant for the GetAll operation. |
Output
Each output item represents a file retrieved from the specified Caspio folder. The structure of each output item's json field typically includes metadata about the file, such as:
{
"id": "string",
"name": "string",
"size": number,
"createdAt": "string",
"updatedAt": "string",
// ...other file metadata fields as provided by Caspio
}
- Note: The exact fields depend on Caspio's API response for files.
- Binary data: This operation does not return file contents, only metadata.
Dependencies
- External Service: Requires access to the Caspio API.
- Credentials: You must configure Caspio credentials in n8n (API key or OAuth, as set up in your environment).
- n8n Configuration: No special environment variables are required beyond standard credential setup.
Troubleshooting
Common issues:
- Invalid Folder Id: If the Folder Id is incorrect or missing, no files will be returned, or an error may occur.
- Authentication Errors: If Caspio credentials are not configured or have expired, authentication errors will be thrown.
- API Limitations: Large folders may result in paginated responses; the node handles pagination internally, but very large datasets may hit n8n memory limits.
Error messages:
"No binary data exists on item!"– Not applicable for GetAll, but may appear if using upload operations incorrectly."No binary data property \"...\" does not exists on item!"– Also not relevant for GetAll.- General API errors from Caspio will be passed through and can include permission issues, invalid parameters, or network problems.
Resolution:
- Double-check the Folder Id.
- Ensure Caspio credentials are valid and have sufficient permissions.
- Review Caspio API documentation for any service-specific limitations.