AI-powered neighborhood recommendation assistant that validates user messages, generates structured neighborhood matches with OpenAI, and returns a JSON response while rejecting invalid inputs with HTTP 400.
n8n · workflow canvasproduction build
Context
Users needed a simple conversational way to get neighborhood recommendations that were consistent, machine-readable, and safe to process, without manually interpreting free-form messages.
Approach
Built two connected n8n workflows: the main flow validates incoming messages, routes valid requests to an OpenAI neighborhood matcher with a structured output parser, and returns a JSON response; a separate error path emails the admin on failures.
Architecture
Webhook POST (user message)
input validation
invalid: HTTP 400 response
valid
OpenAI neighborhood matcher
parse + validate output
JSON response
Error Trigger
Gmail admin alert
Results
Instant vs. manual researchRecommendation response time