feat(n8n Evaluation Trigger Node): Add Evaluation Trigger and Evaluation Node (#15194)

This commit is contained in:
Dana
2025-05-16 11:16:00 +02:00
committed by GitHub
parent 840a3bee4b
commit 570d1e7aad
24 changed files with 1778 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
export * as loadOptions from './loadOptions';
export * as listSearch from './../../Google/Sheet/v2/methods/listSearch';

View File

@@ -0,0 +1,17 @@
import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow';
import { getSheetHeaderRow } from '../../Google/Sheet/v2/methods/loadOptions';
export async function getSheetHeaderRowWithGeneratedColumnNames(
this: ILoadOptionsFunctions,
): Promise<INodePropertyOptions[]> {
const returnData = await getSheetHeaderRow.call(this);
return returnData.map((column, i) => {
if (column.value !== '') return column;
const indexBasedValue = `col_${i + 1}`;
return {
name: indexBasedValue,
value: indexBasedValue,
};
});
}