πŸ“Š Analyze hotel reviews with OpenAI GPT-4o-mini and Airtable sentiment fields

⚑ 4 views Β· πŸ“Š Market Research & Insights

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:

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:

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

This creates a fully automated sentiment processing pipeline.

βš™οΈ How to set up

  1. Connect your Airtable account
  2. Connect your OpenAI account
  3. 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)
  4. Activate the workflow

Once enabled, the workflow runs automatically.

πŸ“‹ Requirements

You will need:

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:

πŸ”— Nodes Used

Airtable, Airtable Trigger, 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