@mazix/n8n-nodes-converter-documents
Version:
n8n node to convert various document formats (DOCX, DOC, XML, YML, XLSX, CSV, PDF, TXT, PPT, PPTX, HTML, JSON, ODT, ODP, ODS) to JSON or text format
13 lines (12 loc) • 447 B
TypeScript
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
/**
* Custom n8n node: convert files to JSON/text
* Supports DOCX, XML, YML, XLSX, CSV, PDF, TXT, PPTX, HTML
*/
export declare class FileToJsonNode implements INodeType {
description: INodeTypeDescription;
/**
* Main execution method for n8n node
*/
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}