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 > Comment → Add Comment
AI-generatedSummary
Add a comment to a file or directory in Infomaniak Kdrive.
Inputs
- authentication — Authentication method. Choose OAuth2 or API Key. Default: OAuth2.
- path_drive_id (required) — Drive identifier.
- path_file_id (required) — File identifier.
- queryParameters — Additional query parameters for the API request. Optional parameter 'query_with' allows loading additional data about a resource, which may include related resources.
- body_body (required) — Comment body text to add.
- returnFullResponse — If true, returns the full API response as an item; otherwise, the response is parsed into n8n items. Default: false.
Output shape
Returns n8n items. When returnFullResponse is false (default), items are parsed from the API response. When true, the raw API response is returned as an item property.
The operation consumes the drive_id and file_id as required path parameters, sends the comment body, and uses the selected authentication method.
Examples
Example 1: Add a comment to a specific file in a drive.
Set path_drive_id to the target drive's ID, path_file_id to the target file's ID, provide the comment text in body_body, and select the appropriate authentication method.