/** * Evaluation Trigger Node - Version 4.7 * Run a test dataset through your workflow to check performance */ export interface EvaluationTriggerV47Params { /** * Where to get the test dataset from * @default dataTable */ source?: 'dataTable' | 'googleSheets' | Expression; /** * Authentication * @displayOptions.hide { source: ["dataTable"] } * @default oAuth2 */ authentication?: 'serviceAccount' | 'oAuth2' | Expression; /** * Document Containing Dataset * @hint Example dataset format <a href="https://docs.google.com/spreadsheets/d/1vD_IdeFUg7sHsK9okL6Doy1rGOkWTnPJV3Dro4FBUsY/edit?gid=0#gid=0">here</a> * @displayOptions.hide { source: ["dataTable"] } * @default {"mode":"list","value":""} */ documentId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string }; /** * Sheet Containing Dataset * @displayOptions.hide { source: ["dataTable"] } * @default {"mode":"list","value":""} */ sheetName?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string }; /** * Data table * @displayOptions.show { source: ["dataTable"] } * @default {"mode":"list","value":""} */ dataTableId?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * Whether to limit number of rows to process * @default false */ limitRows?: boolean; /** * Maximum number of rows to process * @displayOptions.show { limitRows: [true] } * @default 10 */ maxRows?: number | Expression; /** * Filters * @displayOptions.hide { source: ["dataTable"] } * @default {} */ filtersUI?: { /** Filter */ values?: Array<{ /** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ lookupColumn?: string | Expression; /** Value * @hint The column must have this value to be matched */ lookupValue?: string | Expression | PlaceholderValue; }>; }; /** * Whether to filter rows to process * @displayOptions.show { source: ["dataTable"] } * @default false */ filterRows?: boolean; /** * Must Match * @displayOptions.show { filterRows: [true] } * @default anyCondition */ matchType?: 'anyCondition' | 'allConditions' | Expression; /** * Filter to decide which rows get * @displayOptions.show { filterRows: [true] } * @default {} */ filters?: { /** Conditions */ conditions?: Array<{ /** Choose from the list, or specify using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default id */ keyName?: string | Expression; /** Condition * @default eq */ condition?: string | Expression; /** Value * @displayOptions.hide { condition: ["isEmpty", "isNotEmpty", "isTrue", "isFalse"] } */ keyValue?: string | Expression | PlaceholderValue; }>; }; } export interface EvaluationTriggerV47Credentials { googleApi: CredentialReference; googleSheetsOAuth2Api: CredentialReference; } interface EvaluationTriggerV47NodeBase { type: 'n8n-nodes-base.evaluationTrigger'; version: 4.7; credentials?: EvaluationTriggerV47Credentials; isTrigger: true; } export type EvaluationTriggerV47ParamsNode = EvaluationTriggerV47NodeBase & { config: NodeConfig; }; export type EvaluationTriggerV47Node = EvaluationTriggerV47ParamsNode;