Templates / Automate airlines customer support with GPT-4 and question classification

Automate airlines customer support with GPT-4 and question classification

Ready for 3.0

by Oneclick AI Squad ✓ · 345 views · created 2025-10-31 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract & Clean Question (Code): runs custom JavaScript code
  2. Classify Question Category (HTTP Request): calls api.openai.com
  3. Parse Category Result (Code): runs custom JavaScript code
  4. Fetch Knowledge Base Context (Code): runs custom JavaScript code
  5. Generate AI Answer (HTTP Request): calls api.openai.com
  6. Format Final Response (Code): runs custom JavaScript code
  7. Check User Satisfaction (If): checks a condition and branches into true / false
  8. Log Satisfied User (Code): runs custom JavaScript code
  9. Offer Human Support (Code): runs custom JavaScript code
  10. Merge: merges the data from its input branches

…plus 2 more steps. See the full node list below.

HTTP calls to: api.openai.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

This n8n workflow automates airline customer support by classifying travel-related questions, fetching relevant information, generating AI answers, and delivering structured responses to users. It ensures accurate travel information delivery, tracks user…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.