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 → Create Default File
AI-generatedSummary
Create a default file in Infomaniak Kdrive.
Inputs
- authentication — Authentication method for Infomaniak API access.
- path_drive_id (required) — Drive identifier.
- path_file_id (required) — File identifier.
- queryParameters — Additional query parameters to load about a resource.
- query_with — Optional : Allows loading additional data about a resource, which may include related resources.
- body_name (required) — Name of the file to create.
- body_type (required) — The extension of the file.
- returnFullResponse — Return the full API response.
Output shape
Returns the result of the Infomaniak API call for file creation. When returnFullResponse is enabled, the full response body is returned; otherwise, n8n items are generated based on the API response.
The operation consumes the specified drive ID, file ID (if applicable), file name and type, and optional authentication and query parameters to create a default file in the selected Infomaniak Kdrive.
Examples
Example 1: Create a new text file in a specific drive.
Set authentication to OAuth2, select the target drive ID, provide a file name (e.g., 'report') and type ('txt'), and leave returnFullResponse at default false.