🎫 Route and analyze customer feedback with Qwen3-VL, Tally, PostgreSQL

⚑ 46 views · 🎫 Ticket Management & Triage

Description

Self-Hosted

This workflow provides a complete end-to-end system for capturing, analyzing, and routing customer feedback. By combining local multimodal AI processing with structured data storage, it allows teams to respond to customer needs in real-time without compromising data privacy.

Who is this for?

This is designed for Customer Success Managers, Product Teams, and Community Leads who need to automate the triage of high-volume feedback. It is particularly useful for organizations that handle sensitive customer data and prefer local AI processing over cloud-based API calls.

πŸ› οΈ Tech Stack

✨ How it works

  1. Form Submission: The workflow triggers when a new submission is received from Tally.so.
  2. Multimodal Analysis: The OpenAI node (pointing to LM Studio) processes the input using the Qwen3-VL model across three specific layers:
    • Sentiment Analysis: Evaluates the text to determine if the customer is Positive, Negative, or Neutral.
    • Zero-Shot Classification: Categorizes the feedback into pre-defined labels based on instructions in the prompt.
    • Vision Processing: Analyzes any attached images to extract descriptive keywords or identify UI elements mentioned in the feedback.
  3. Data Storage: The PostgreSQL node logs the user’s details, the original message, and all AI-generated insights.
  4. AI-Driven Routing: The same Qwen3-VL model makes the routing decision by evaluating the classification results and determining the appropriate path for the data to follow.
  5. Discord Notification: The Discord node sends a formatted message to the corresponding channel, ensuring the support team sees urgent issues while the marketing team sees positive testimonials.

πŸ“‹ Requirements

πŸš€ How to set up

  1. Prepare your Local AI:
    • Open LM Studio and download the Qwen3-VL-4B model.
    • Start the Local Server on port 1234 and ensure CORS is enabled.
    • Disable the Require Authentication setting in the Local Server tab.
  2. Configure PostgreSQL:
    • Ensure your database is running. Create a table named customer_feedback with columns for name, email_address, feedback_message, image_url, sentiment, category, and img_keywords.
  3. Import the Workflow:
    • Import the JSON file into your n8n instance.
  4. Link Services:
    • Update the Webhook node with your Tally.so URL.
    • In the Discord nodes, paste the relevant Channel IDs for your #support, #feedback, and #general channels.
  5. Test and Activate:
    • Toggle the workflow to Active.
    • Send a test submission through your Tally form and verify the data appears in PostgreSQL and Discord.

πŸ”‘ Credential Setup

To run this workflow, you must configure the following credentials in n8n:

βš™οΈ How to customize

πŸ”— Nodes Used

HTTP Request, Postgres, Discord, Basic LLM Chain, OpenAI Chat Model, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup