Interface N8nNodeParameters

Source
interface N8nNodeParameters {
    additionalOptions?: {
        categories?: (
            | "database"
            | "instance"
            | "credentials"
            | "filesystem"
            | "nodes"
        )[];
        daysAbandonedWorkflow?: number;
    };
    credentialId?: string;
    credentialTypeName?: string;
    data?: string;
    executionId?: string;
    filters?: | {
        status?: "error"
        | "success"
        | "waiting";
        workflowId?: {
            mode: "id" | "list" | "url";
            value: string;
        };
    }
    | {
        activeWorkflows?: boolean;
        excludePinnedData?: boolean;
        name?: string;
        projectId?: string;
        tags?: string;
    };
    limit?: number;
    name?: string;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "getSchema"
    | "generate"
    | "activate"
    | "deactivate";
    options?: { activeWorkflows?: boolean };
    resource?:
        | "workflow"
        | "audit"
        | "credential"
        | "execution";
    returnAll?: boolean;
    workflowId?: {
        mode: "id"
        | "list"
        | "url";
        value: string;
    };
    workflowObject?: string;
}

Properties§

Source§

readonly additionalOptions?: {
    categories?: (
        | "database"
        | "instance"
        | "credentials"
        | "filesystem"
        | "nodes"
    )[];
    daysAbandonedWorkflow?: number;
}

Default: {}

Source§

readonly credentialId?: string

Source§

readonly credentialTypeName?: string

The available types depend on nodes installed on the n8n instance. Some built-in types include e.g. 'githubApi', 'notionApi', and 'slackApi'.

Source§

readonly data?: string

A valid JSON object with properties required for this Credential Type. To see the expected format, you can use 'Get Schema' operation. Type options: {"alwaysOpenEditWindow":true}

Source§

readonly executionId?: string

Source§

readonly filters?:
    | {
        status?: "error"
        | "success"
        | "waiting";
        workflowId?: {
            mode: "id" | "list" | "url";
            value: string;
        };
    }
    | {
        activeWorkflows?: boolean;
        excludePinnedData?: boolean;
        name?: string;
        projectId?: string;
        tags?: string;
    }

Default: {}

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":250}

Source§

readonly name?: string

Name of the new credential

Source§

readonly operation?:
    | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete"
    | "getSchema"
    | "generate"
    | "activate"
    | "deactivate"

Default: "get"

Source§

readonly options?: { activeWorkflows?: boolean }

Default: {}

Source§

readonly resource?: "workflow" | "audit" | "credential" | "execution"

Default: "workflow"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit

Source§

readonly workflowId?: { mode: "id" | "list" | "url"; value: string }

Workflow to filter the executions by Default: {"mode":"list","value":""}

Source§

readonly workflowObject?: string

A valid JSON object with required fields: 'name', 'nodes', 'connections' and 'settings'. More information can be found in the documentation. Default: "{ "name": "My workflow", "nodes": [], "connections": {}, "settings": {} }" Type options: {"alwaysOpenEditWindow":true}