Back to work
n8nCase study

Neighborhood Matcher AI Assistant

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
Neighborhood Matcher AI Assistant workflow

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

  1. Webhook POST (user message)
  2. input validation
  3. invalid: HTTP 400 response
valid
  1. OpenAI neighborhood matcher
  2. parse + validate output
  3. JSON response
  4. Error Trigger
  5. Gmail admin alert

Results

Instant vs. manual researchRecommendation response time
100% automaticInvalid input handling
ReducedSupport team workload