Force AI to use a specific output format
Go to WorkflowDescription
This workflow is for anyone looking to automatically fetch, validate, and parse complex language-based queries into a structured format. Its unique capability lies in not only processing language but also fixing invalid outputs before structuring them.
Note that to use this template, you need to be on n8n version 1.19.4 or later.
This workflow was created by n8n Team and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.
Nodes Used (4)
Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured