Actions178
- Drive Actions
- Drive > Activity Actions
- Drive > Activity > Report Actions
- Drive > Files Actions
- Drive > Files > Action Actions
- Drive > Files > Archive Actions
- Drive > Files > Category Actions
- Drive > Files > Category > Right Actions
- Drive > Files > Dropbox Actions
- Drive > Files > External Import Actions
- Drive > Files > Favorite Actions
- Drive > Files > File/Directory Actions
- Drive > Files > File/Directory > Access Actions
- Drive > Files > File/Directory > Access > Invitation Actions
- Drive > Files > File/Directory > Access > Request Actions
- Drive > Files > File/Directory > Access > Teams Actions
- Drive > Files > File/Directory > Access > Users Actions
- Drive > Files > File/Directory > Comment Actions
- Drive > Files > File/Directory > Upload Actions
- Drive > Files > File/Directory > Upload > Session Actions
- Drive > Files > File/Directory > Version Actions
- Drive > Files > Search Actions
- Drive > Files > Share Link > Archive Actions
- Drive > Files > Share Link > Manage Actions
- Drive > Files > Trash Actions
- Drive > Invitations Actions
- Drive > Settings Actions
- Drive > Statistics Actions
- Drive > Users Actions
- Others Actions
- Users Actions
Drive > Files > File/Directory → Get A File Temporary URL
AI-generatedSummary
Generates a temporary download URL for a specified Infomaniak Kdrive file.
Inputs
- authentication — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Select 'API Key' to use static API key authentication instead of OAuth2 token flow.
- path_drive_id (required) — Identifier of the Infomaniak Kdrive (root folder/drive) containing the target file. A numeric ID; default value 0 typically selects the root drive unless overridden by the node's internal logic.
- path_file_id (required) — Numeric identifier of the specific file or directory within the selected drive to generate a temporary URL for.
- queryParameters — Optional collection of additional query parameters to append to the API request. Currently supports a single optional parameter:
- query_duration — Number specifying the duration (in seconds, typically) for which the generated temporary URL remains valid. Defaults to 0, which may use the service's default expiry policy.
Output shape
Returns an object representing the API response from Infomaniak Kdrive. By default, the node extracts and returns the temporary URL field suitable for file downloads. When 'Return Full Response' is enabled, the entire API response payload is passed through to the next node in the workflow.
The actual returned data shape depends on the Infomaniak API response structure and the 'returnFullResponse' setting. If the API call fails (e.g., invalid file ID, insufficient permissions), the node will error out as per n8n error handling.
Examples
Example 1: Basic temporary URL generation using OAuth2
Set authentication to OAuth2, provide the drive ID and file ID. The node outputs a temporary download URL.
Example 2: Custom expiry temporary URL
Set 'query.duration' to 3600 in queryParameters to generate a URL valid for one hour, and enable 'Return Full Response' if the full API metadata is needed.