AI Agents & LangChain in n8n · 30 min
Structured output & parsers
Force the model to return valid JSON matching a schema you control downstream.
Key concepts
- Structured Output Parser node
- JSON schema definition
- Handling parse failures
Exercise
Force an agent to return {category, priority, summary} and route tickets based on the result.