Actions60
- User Actions
- Teams Actions
- Custom Fields Actions
- Tickets Actions
- Deals Actions
- Webhooks Actions
- Contacts Actions
- Companies Actions
- Bussiness Types Actions
- Tags Actions
- Deal Phases Actions
- Invoices Actions
- Subscriptions Actions
- Products Actions
- Projects Actions
- Tasks Actions
- Files Actions
Overview
This node integrates with the Teamleader API to perform various operations on different resources. Specifically, for the Files resource with the List operation, it retrieves a list of files stored in the Teamleader system. This is useful when you want to automate workflows that involve managing or processing files associated with your Teamleader account.
Common scenarios include:
- Automatically fetching and processing files uploaded to Teamleader.
- Integrating file data into other systems or workflows.
- Generating reports or audits based on files stored in Teamleader.
Example: You could use this node to list all files related to a project or client, then download or analyze them in subsequent workflow steps.
Properties
| Name | Meaning |
|---|---|
| Limit | The number of results to return. Controls how many files are retrieved in one execution. |
Output
The node outputs an array of JSON objects representing files. Each object corresponds to a file record returned by the Teamleader API. The exact structure depends on the API response but typically includes metadata such as file ID, name, size, creation date, and possibly links or references to download the file.
If the node supports binary data output (not explicitly shown here), it would represent actual file contents; however, for the List operation, only metadata is returned.
Dependencies
- Requires an OAuth2 API credential configured for Teamleader to authenticate requests.
- Connects to the Teamleader API endpoint at
https://api.focus.teamleader.eu. - Uses POST requests to fetch data from the API.
Troubleshooting
- No data returned but request was successful: This message indicates the API call succeeded but returned no file data. Check if files exist or adjust the limit parameter.
- No data got returned: An error thrown when the API response lacks expected data. Verify API credentials and permissions.
- API errors: If the node throws errors related to authentication or permissions, ensure the OAuth2 credential is valid and has access to the Files resource.
- Limit parameter issues: Setting the limit too high might cause performance issues or API rate limiting. Adjust accordingly.
Links and References
- Teamleader API Documentation - Official documentation for API endpoints and usage.