UNPKG

flowengine-n8n-workflow-builder

Version:

Build n8n workflows from text using AI. Connect to Claude, Cursor, or any LLM to generate and validate n8n workflows with expert knowledge and intelligent auto-fixing. Built by FlowEngine. Now with real node parameter schemas from n8n packages!

29 lines 788 B
/** * Advanced JSON Parser - Reconstruction and Recovery * * Handles truncated, malformed, and incomplete JSON with intelligent * reconstruction and fuzzy parsing capabilities. */ export interface ParseResult { success: boolean; workflow?: any; error?: string; recovered?: boolean; completionSuggestions?: string[]; } /** * Parse JSON with advanced error recovery */ export declare function parseWorkflowJSON(jsonString: string): ParseResult; /** * Validate workflow structure after parsing */ export declare function validateWorkflowStructure(workflow: any): { valid: boolean; errors: string[]; }; /** * Smart JSON extraction from mixed content */ export declare function extractJSON(text: string): ParseResult; //# sourceMappingURL=parser.d.ts.map