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 > Archive → Build Archive
AI-generatedSummary
Build an archive from selected files in an Infomaniak Kdrive directory.
Inputs
- authentication (required) — Authentication method for the Infomaniak API. Supports OAuth2 or API Key authentication. Default: OAuth2.
- path_drive_id (required) — Drive identifier. Must be provided as a numeric ID.
- bodyParameters — Collection of additional body fields to control which files are included in or excluded from the archive build request. Placeholder: Add Field. Default: {}. At least one of body_file_ids or body_parent_id must be supplied depending on the other's value.
- returnFullResponse — If true, the raw API response is returned instead of processed n8n items. Default: false.
Output shape
When returnFullResponse is false, the operation returns processed n8n items representing the archived files. When true, the full Infomaniak API response payload is emitted.
The bodyParameters collection supports three optional sub-fields: body_file_ids (json, array of file IDs to include; required if body_parent_id is not set), body_parent_id (number, directory ID containing the files; required if body_file_ids is not set), and body_except_file_ids (json, array of file IDs to exclude; only applied when body_parent_id is set and meaningless otherwise).
Examples
Example 1: Archive specific files by ID from a drive.
Set path_drive_id to the target drive's numeric ID, body_file_ids to an array of file IDs to include, and leave body_parent_id at its default (0). Authentication defaults to OAuth2.
Example 2: Archive all files in a specific directory.
Set path_drive_id, body_parent_id to the target directory's numeric ID, and leave body_file_ids empty. Authentication defaults to OAuth2.