Analyze hotel reviews with OpenAI GPT-4o-mini and Airtable sentiment fields

Go to Workflow
1 views
Built by Edson Encinas Edson Encinas
Created on June 08, 2026

Description

🏩 Analyze hotel reviews with OpenAI and update sentiment in Airtable
This workflow automatically analyzes hotel guest reviews using OpenAI and updates the sentiment, summary, and confidence score directly in Airtable. It helps hospitality teams monitor guest satisfaction, identify negative experiences quickly, and generate structured insights without manual effort.

By enriching every review with AI-generated sentiment data, teams can improve service quality, prioritize responses, and track performance trends over time.

🎯 Who’s it for
This template is ideal for:
Hotel owners and hospitality businesses
Customer experience and guest relations teams
Property managers handling guest feedback
Operations teams tracking service quality
Businesses storing reviews in Airtable

It’s also useful for any business that wants to automatically analyze customer feedback stored in a database.

πŸ” How it works

The workflow runs automatically whenever a new review is added to Airtable.

It:
Monitors Airtable for new reviews
Extracts and prepares the review data
Sends the review text to OpenAI for sentiment analysis
Generates:
Sentiment (Positive, Neutral, Negative)
Short summary
Confidence score
Flags conflicts between rating and sentiment
Updates the Airtable record with the results
Marks the review as processed to prevent duplicate analysis

This creates a fully automated sentiment processing pipeline.

βš™οΈ How to set up
Connect your Airtable account
Connect your OpenAI account
Ensure your Airtable table includes these fields:
Review ID (Formula : RECORD_ID())
Review Text (Long text)
Rating (Number)
Processed (Checkbox)
Sentiment (Text)
Summary (Text)
Confidence (Number)
Sentiment Rating Conflict (Checkbox)
Execution ID (Text)
Processes At (Date)
Other Fields like Guest Name, location, etc.. (Optional)
Activate the workflow

Once enabled, the workflow runs automatically.

πŸ“‹ Requirements

You will need:
Airtable account
OpenAI API account
Airtable table containing guest reviews

For testing and simulating real-world usage, you can also create an Airtable Form linked to your table. This allows you or your team to submit sample hotel reviews manually, just like a guest feedback form. Each submission will automatically trigger the workflow and generate sentiment analysis results.

This is especially useful for:
Testing the workflow setup
Demonstrating the automation to your team
Simulating real guest feedback collection
πŸŽ›οΈ How to customize the workflow
You can easily extend this workflow to fit your needs:

Modify the AI prompt to change sentiment logic or summary format
Send alerts for negative reviews to Slack, Email, or Microsoft Teams
Connect other databases like NocoDB, MySQL, PostgreSQL, or Google Sheets

Nodes Used (4)

Airtable
n8n-nodes-base.airtable
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured