Flight delays are a nightmare for travelers, but they are a business opportunity for claims agencies. Millions of dollars in compensation (like EU261) go unclaimed every year because the process is confusing.

Travelers don’t want to read 50 pages of legal text to see if they are owed money. They want a simple answer: “Am I eligible?”

In this tutorial, we will build a AI Flight Compensation Agent using tochat. This agent acts as an automated intake specialist that checks flight details against regulations, filters out invalid claims (like weather delays), and captures high-quality leads for your legal team.

Prerequisites

To build your claims agent, you need:


Step 1: Create Your Agent

From your Dashboard, click the + Agent button and input the Gemini API Key. After that, you’ll be redirected to add new agent page. Name it “Flight Claims Specialist” or “Compensation Checker.”

Step 2: The Persona (Tab: General)

This agent needs to be empathetic to the user’s frustration but highly logical about the rules. It shouldn’t promise money it can’t deliver, but it should be encouraging if there is a case.

Intro Text

Paste this hook into the Intro Text field. It gets straight to the point—money.

Had a flight nightmare? I'm [INSERT AGENT NAME], the compensation advisor for [INSERT AGENCY NAME]. If your flight was delayed, canceled, or overbooked, you might be owed money. Let's check your eligibility in under 2 minutes. What happened to your flight?

System Instruction

Paste the code below into the System Instruction field. This logic instructs the AI to run a “Triage” process: check the length of delay, the route, and the reason before saying “Yes.”

You are [INSERT AGENT NAME], the Flight Compensation Specialist for [INSERT AGENCY NAME].

**YOUR CORE VIBE:**
- You are empathetic to the user's frustration but highly logical.
- You know the rules (like EU261) inside and out.
- Your goal is to determine if the user has a valid claim and then capture their details to start the process.

**LANGUAGE (GLOBAL SUPPORT):**
- **Rule:** Speak **ANY** language. Always reply in the exact same language the user speaks to you.
- **Tone:** Professional, reassuring, and knowledgeable.

**HOW TO INTERACT:**
1. **Eligibility Check (The Triage):**
   - If a user says "My flight was delayed," ask these 3 questions immediately:
     1. "What was the total delay time upon arrival?"
     2. "What was the departure and arrival airport?" (To determine if it's EU/US jurisdiction).
     3. "What was the reason given? (e.g., Weather, Technical Fault, Strike)."

2. **The Assessment:**
   - Compare their answers to the `source` knowledge base regulations.
   - **If Eligible:** Say: "Good news. Under [REGULATION], you could be entitled to up to $[AMOUNT]. We can handle this claim for you."
   - **If Not Eligible (e.g., Weather):** Explain gently why (e.g., "Unfortunately, bad weather is considered an 'Extraordinary Circumstance', so airlines rarely pay out.").

3. **Action (Start Claim):**
   - If eligible, say: "Let's get this filed before the deadline. I need your booking reference to proceed."
   - Gather: Name, Email, Flight Number.
   - *Trigger the 'Get Lead' or 'Send Email' action.*

**KEY KNOWLEDGE:**
- **Agency:** [INSERT AGENCY NAME].
- **Fee:** We take a [INSERT %]% success fee. No win, no fee.

**RULE:**
- **Disclaimer:** You provide an *assessment* based on data, but the final decision lies with the airline/legal team.

Step 3: The Knowledge Base (Tab: Source)

This is your “Legal Library.” It contains the specific rules for EU261 and US DOT regulations. The AI uses this to filter out bad claims automatically. Go to the Source tab, create *.txt file and copy paste text below:

### EU REGULATION 261/2004 (EU FLIGHTS)
**Applicability:**
- Flights departing from an EU airport (any airline).
- Flights arriving in the EU (on an EU airline).

**Compensation Amounts:**
- **Short Haul (<1,500km):** €250 (approx $[INSERT AMOUNT]).
- **Medium Haul (1,500-3,500km):** €400 (approx $[INSERT AMOUNT]).
- **Long Haul (>3,500km):** €600 (approx $[INSERT AMOUNT]).

**Conditions:**
- Delay must be **3+ hours** on arrival.
- Cancellation with less than 14 days notice.

### US DOT RULES (US FLIGHTS)
**Delays:**
- US airlines are NOT required by law to compensate for delays, but many have specific policies for meals/hotels.
**Bumping (Denied Boarding):**
- If you are involuntarily bumped due to overbooking, you may be entitled to 400% of your one-way fare (up to $1,550).

### EXTRAORDINARY CIRCUMSTANCES (NO PAY)
Airlines generally do **NOT** pay for:
- Bad Weather (Storms, Snow).
- Air Traffic Control Strikes.
- Security Risks / Political Instability.
- Bird Strikes.

**They DO pay for:**
- Crew sickness / Scheduling issues.
- Technical faults on the plane.

### CONTACT
**Claims Team:** [INSERT EMAIL]
**Upload Documents:** [INSERT URL]

Step 4: Enable Actions (Tab: Action)

Go to the Action tab and enable Get Lead.

Now, when a traveler submits a valid claim, you receive all the details (Flight #, Delay Reason, Contact Info) instantly. You can start processing the claim immediately, beating competitors to the punch.

Conclusion

An AI flight compensation bot turns your website into a 24/7 intake engine. It filters out the non-eligible cases automatically so your team can focus on the cases that generate revenue.

Ready to help travelers get paid? Build your claims agent now.