first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled

This commit is contained in:
2026-03-17 16:22:57 +03:30
commit 3d5eaf9445
15349 changed files with 2847338 additions and 0 deletions
@@ -0,0 +1,29 @@
{
"node": "n8n-nodes-base.dropbox",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"categories": ["Data & Storage"],
"resources": {
"credentialDocumentation": [
{
"url": "https://docs.n8n.io/integrations/builtin/credentials/dropbox/"
}
],
"primaryDocumentation": [
{
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.dropbox/"
}
],
"generic": [
{
"label": "Hey founders! Your business doesn't need you to operate",
"icon": " 🖥️",
"url": "https://n8n.io/blog/your-business-doesnt-need-you-to-operate/"
},
{
"label": "7 no-code workflow automations for Amazon Web Services",
"url": "https://n8n.io/blog/aws-workflow-automation/"
}
]
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,123 @@
import type {
IDataObject,
IExecuteFunctions,
IHookFunctions,
IHttpRequestMethods,
IRequestOptions,
JsonObject,
} from 'n8n-workflow';
import { NodeApiError } from 'n8n-workflow';
/**
* Make an API request to Dropbox
*
*/
export async function dropboxApiRequest(
this: IHookFunctions | IExecuteFunctions,
method: IHttpRequestMethods,
endpoint: string,
body: object,
query: IDataObject = {},
headers: IDataObject = {},
option: IDataObject = {},
): Promise<any> {
const options: IRequestOptions = {
headers,
method,
qs: query,
body,
uri: endpoint,
json: true,
};
if (!Object.keys(body).length) {
delete options.body;
}
Object.assign(options, option);
const authenticationMethod = this.getNodeParameter('authentication', 0) as string;
try {
if (authenticationMethod === 'accessToken') {
return await this.helpers.requestWithAuthentication.call(this, 'dropboxApi', options);
} else {
return await this.helpers.requestOAuth2.call(this, 'dropboxOAuth2Api', options);
}
} catch (error) {
throw new NodeApiError(this.getNode(), error as JsonObject);
}
}
export async function dropboxpiRequestAllItems(
this: IExecuteFunctions | IHookFunctions,
propertyName: string,
method: IHttpRequestMethods,
endpoint: string,
body: any = {},
query: IDataObject = {},
headers: IDataObject = {},
): Promise<any> {
const resource = this.getNodeParameter('resource', 0) as string;
const returnData: IDataObject[] = [];
const paginationEndpoint: IDataObject = {
folder: 'https://api.dropboxapi.com/2/files/list_folder/continue',
search: 'https://api.dropboxapi.com/2/files/search/continue_v2',
};
let responseData;
do {
responseData = await dropboxApiRequest.call(
this,
method,
endpoint,
body as IDataObject,
query,
headers,
);
const cursor = responseData.cursor;
if (cursor !== undefined) {
endpoint = paginationEndpoint[resource] as string;
body = { cursor };
}
returnData.push.apply(returnData, responseData[propertyName] as IDataObject[]);
} while (responseData.has_more !== false);
return returnData;
}
export async function getRootDirectory(this: IHookFunctions | IExecuteFunctions) {
return await dropboxApiRequest.call(
this,
'POST',
'https://api.dropboxapi.com/2/users/get_current_account',
{},
);
}
export function simplify(data: IDataObject[]) {
const results = [];
for (const element of data) {
const { '.tag': key } = element?.metadata as IDataObject;
const metadata = (element?.metadata as IDataObject)[key as string] as IDataObject;
delete element.metadata;
Object.assign(element, metadata);
if ((element?.match_type as IDataObject)['.tag']) {
element.match_type = (element?.match_type as IDataObject)['.tag'] as string;
}
results.push(element);
}
return results;
}
export async function getCredentials(this: IExecuteFunctions) {
const authenticationMethod = this.getNodeParameter('authentication', 0) as string;
if (authenticationMethod === 'accessToken') {
return await this.getCredentials('dropboxApi');
} else {
return await this.getCredentials('dropboxOAuth2Api');
}
}
@@ -0,0 +1,61 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"client_modified": {
"type": "string"
},
"content_hash": {
"type": "string"
},
"id": {
"type": "string"
},
"is_downloadable": {
"type": "boolean"
},
"name": {
"type": "string"
},
"parent_shared_folder_id": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"rev": {
"type": "string"
},
"server_modified": {
"type": "string"
},
"sharing_info": {
"type": "object",
"properties": {
"modified_by": {
"type": "string"
},
"parent_shared_folder_id": {
"type": "string"
},
"read_only": {
"type": "boolean"
}
}
},
"size": {
"type": "integer"
}
}
}
},
"version": 1
}
@@ -0,0 +1,44 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"client_modified": {
"type": "string"
},
"content_hash": {
"type": "string"
},
"id": {
"type": "string"
},
"is_downloadable": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"rev": {
"type": "string"
},
"server_modified": {
"type": "string"
},
"size": {
"type": "integer"
}
}
}
},
"version": 1
}
@@ -0,0 +1,39 @@
{
"type": "object",
"properties": {
"contentHash": {
"type": "string"
},
"contentSize": {
"type": "integer"
},
"id": {
"type": "string"
},
"isDownloadable": {
"type": "boolean"
},
"lastModifiedClient": {
"type": "string"
},
"lastModifiedServer": {
"type": "string"
},
"name": {
"type": "string"
},
"pathDisplay": {
"type": "string"
},
"pathLower": {
"type": "string"
},
"rev": {
"type": "string"
},
"type": {
"type": "string"
}
},
"version": 6
}
@@ -0,0 +1,44 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"client_modified": {
"type": "string"
},
"content_hash": {
"type": "string"
},
"id": {
"type": "string"
},
"is_downloadable": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"rev": {
"type": "string"
},
"server_modified": {
"type": "string"
},
"size": {
"type": "integer"
}
}
}
},
"version": 1
}
@@ -0,0 +1,36 @@
{
"type": "object",
"properties": {
"client_modified": {
"type": "string"
},
"content_hash": {
"type": "string"
},
"id": {
"type": "string"
},
"is_downloadable": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"rev": {
"type": "string"
},
"server_modified": {
"type": "string"
},
"size": {
"type": "integer"
}
},
"version": 1
}
@@ -0,0 +1,23 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
}
}
}
},
"version": 3
}
@@ -0,0 +1,26 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
}
}
}
},
"version": 1
}
@@ -0,0 +1,39 @@
{
"type": "object",
"properties": {
"contentHash": {
"type": "string"
},
"contentSize": {
"type": "integer"
},
"id": {
"type": "string"
},
"isDownloadable": {
"type": "boolean"
},
"lastModifiedClient": {
"type": "string"
},
"lastModifiedServer": {
"type": "string"
},
"name": {
"type": "string"
},
"pathDisplay": {
"type": "string"
},
"pathLower": {
"type": "string"
},
"rev": {
"type": "string"
},
"type": {
"type": "string"
}
},
"version": 1
}
@@ -0,0 +1,46 @@
{
"type": "object",
"properties": {
"metadata": {
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"parent_shared_folder_id": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"sharing_info": {
"type": "object",
"properties": {
"no_access": {
"type": "boolean"
},
"parent_shared_folder_id": {
"type": "string"
},
"read_only": {
"type": "boolean"
},
"traverse_only": {
"type": "boolean"
}
}
}
}
}
},
"version": 1
}
@@ -0,0 +1,56 @@
{
"type": "object",
"properties": {
".tag": {
"type": "string"
},
"client_modified": {
"type": "string"
},
"content_hash": {
"type": "string"
},
"file_owner_team_encrypted_id": {
"type": "string"
},
"id": {
"type": "string"
},
"is_downloadable": {
"type": "boolean"
},
"name": {
"type": "string"
},
"path_display": {
"type": "string"
},
"path_lower": {
"type": "string"
},
"rev": {
"type": "string"
},
"server_modified": {
"type": "string"
},
"sharing_info": {
"type": "object",
"properties": {
"modified_by": {
"type": "string"
},
"parent_shared_folder_id": {
"type": "string"
},
"read_only": {
"type": "boolean"
}
}
},
"size": {
"type": "integer"
}
},
"version": 2
}
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 67 62"><use xlink:href="#a" x="1" y="1"/><symbol id="a" overflow="visible"><path fill="#007ee5" fill-rule="nonzero" stroke="none" d="M18.874.02 0 12.18l13.066 10.526L32 11.032m-32 22 18.874 12.4L32 34.422 13.066 22.686M32 34.422l13.188 11.01L64 33.152 50.994 22.686M64 12.28 45.188 0 32 11.01l18.994 11.674M32.06 36.778 18.872 47.726l-5.686-3.69v4.174L32.06 59.522 50.934 48.21v-4.174l-5.686 3.69"/></symbol></svg>

After

Width:  |  Height:  |  Size: 603 B