> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatsyncs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Travel Assistant

> A production-quality implementation guide for a ChatSyncs AI Agent — combining AI Training Campaign, Prompt Message, and Intent Detection into one assistant, using a travel agency (TravelEase Holidays) as the sample project. Use this when a customer asks how all the AI Agent pieces fit together in a real business, or wants a template to adapt for their own industry.

## Business Problem

* Customers ask about holiday packages, visa requirements, hotels, and flights at all hours —
  staff can't be available around the clock to answer.
* The same questions (destinations, pricing, visa rules) get repeated to every new customer,
  wasting staff time that could go toward closing bookings.
* Different customer types — couples, families, corporate groups — need different guidance,
  which is hard for different staff members to give consistently.
* Sales enquiries, complaints, and support requests all land in the same inbox with no automatic
  routing, so an urgent complaint can sit behind routine questions.
* Escalating to a human today means someone has to notice the message and manually gather the
  customer's details before handing off.

## Solution

* An **AI Agent** trained on the business's own knowledge (company info, destinations, pricing,
  FAQs) answers customer questions instantly, in the business's own voice — not a generic
  chatbot answer.
* A **Prompt Message** controls the AI's tone, response length, and boundaries, so it never
  invents prices, policies, or facts it doesn't actually have.
* **Intent Detection** reads each incoming message and automatically routes it — handing off to
  a human, assigning it to the right team, or answering from a different, more focused knowledge
  base — instead of every message going through the same generic AI answer.

## Business Benefits

* No coding required to build the assistant.
* Supports multiple knowledge sources at once (FAQs, files, URLs, sheets, APIs).
* Understands natural language, not just fixed keywords.
* Reduces manual customer support workload.
* Provides instant responses, any time of day.
* Delivers consistent answers instead of depending on whichever agent is online.
* Can be adapted to virtually any industry — only the training content and intents change.
* Easy to maintain and update — refresh a file, sheet, or FAQ instead of rebuilding a flow.

## Workflow Diagram

```mermaid theme={null}
flowchart TD
    Customer[Customer] --> Channel["WhatsApp / Messenger / Web Chat"]
    Channel --> AIAgent[AI Agent]
    AIAgent --> Intent{Intent Detection}
    Intent -->|Talk to Human| BotFlow["Bot Flow Trigger: starts a new Bot Flow"]
    Intent -->|Sales / Complaint| AgentAssign["Agent Assignment: routed to team"]
    Intent -->|Travel Questions| AIResponses["AI-Driven Responses: dedicated campaign"]
    AIAgent --> Campaign[AI Training Campaign]
    Campaign --> Sources["Prompt Message + FAQs + URL + File + Sheet + API"]
    Sources --> Response[AI Generated Response]
    BotFlow --> SalesSupportFlow["Sales / Support (Flow Trigger)"]
    SalesSupportFlow --> SalesTeam[Selected team member]
    AgentAssign --> AssignedTeam[Assigned team member]
    AIResponses --> Response
```

## Prerequisites

* Read [AI Agent](/learn/whatsapp-ai-agent) first to understand how the whole feature works —
  this guide only covers how the pieces combine for a real business, not the feature itself.
* A defined business profile to train on — company info, services, destinations, pricing, and
  policies (see the TravelEase Holidays profile used throughout this guide, below).
* A decision on tone and boundaries for the **Prompt Message** — how long responses should be,
  what the AI should never say, and when it should hand off to a human.
* Whichever training source you'll use ready to go — a written FAQ list, a website URL, a
  brochure/PDF, a Google Sheet, or an API endpoint. Only **one** source is active per campaign
  at a time (see [AI Knowledge Base](/learn/whatsapp-ai-knowledge-base) for the
  mutual-exclusion rules).
* A list of intents worth detecting (e.g. "Talk to Human", "Sales Enquiry") and which flow or
  team each one should route to.

<Tip>
  TravelEase Holidays' full business profile — About, Services, Domestic/International
  destinations, Holiday categories, Budget recommendations, Best time to visit, Payment methods,
  Business hours — is what turns a generic AI into a **travel** AI. Swap this section for a
  hospital's doctors/departments/hours, or a school's admissions/courses/fees, and the exact same
  structure becomes a different business's assistant.
</Tip>

## Implementation Guide

### Step 1 — Enable the AI Agent and attach a Training Campaign

**Objective:** Turn on the component that actually talks to the customer.

**Explanation:** The [AI Agent](/learn/whatsapp-ai-agent#ai-training-campaign) receives the
message, searches the configured training data, understands the intent behind it, and generates
a natural response — it does nothing until a Training Campaign is attached.

**Actions to perform:**

* Open **Chatbot Manager → AI Agent** and select (or create) the TravelEase Holidays AI Training
  Campaign.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-01-ai-agent-panel-travelease.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=bffb5fbb188a115ac0fc6ae74168ead9" alt="Chatbot Manager AI Agent panel with the TravelEase Holidays AI Training Campaign selected" width="976" height="491" data-path="images/learn/ai-agent-use-case-travel-agency/step-01-ai-agent-panel-travelease.png" />
</Frame>

**Expected result:** A customer message like *"I want a honeymoon package"* gets an AI-generated
recommendation of honeymoon destinations, followed by a budget question.

**Notes:** Without an attached campaign, the AI Agent has no business-specific knowledge to
answer from at all.

### Step 2 — Write the Prompt Message

**Objective:** Define how the AI behaves — role, personality, tone, response length,
restrictions, and conversation style.

**Explanation:** The Prompt Message is what stops an AI Agent from confidently inventing prices,
dates, or policies it was never told.

**Actions to perform:**

* For a fast-moving WhatsApp conversation, a short numbered rule set works well:

```
2. Never write more than 40 words in a single response.
3. Never use bullet points, numbered lists, or long explanations unless the user explicitly asks for them.
4. Answer only the customer's current question. Do not provide additional information that wasn't requested.
5. End your response with ONE relevant follow-up question whenever appropriate.
6. Use simple, conversational language.
7. Do not repeat information.
8. Do not greet the customer in every message.
```

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-03-prompt-message-concise-rules.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=7ed11075168bb45469a582d00a346693" alt="Create A Training Campaign modal for TravelEase Holidays with a concise numbered Prompt Message: never write more than 40 words, no bullet points unless asked, answer only the current question, end with one follow-up question, simple language, no repetition, no greeting every message" width="598" height="544" data-path="images/learn/ai-agent-use-case-travel-agency/step-03-prompt-message-concise-rules.png" />
</Frame>

* For a business that needs a strict role, tone, and full set of boundaries defined at once, a
  much longer template covers every dimension — role, personality, communication style, tone,
  response format, knowledge usage, conversation behavior, restrictions, escalation rules, and
  safety, ending with the AI's overall goal.

**Expected result:** The AI's responses match the rules — short and follow-up-driven for the
concise version, or fully scoped and boundaried for the comprehensive version.

**Notes:**

<Warning>
  **Restrictions and escalation rules matter as much as the friendly tone.** Without an explicit
  instruction not to invent prices, dates, or policies, an AI Agent can confidently state
  something false. Always tell it what to refuse and what to hand off to a human instead of
  answering itself.
</Warning>

### Step 3 — Build the AI Training Campaign

**Objective:** Give the AI a knowledge base to answer from — without one, it has nothing
business-specific to say.

**Explanation:** TravelEase Holidays' campaign contains company information, services,
destinations, FAQs, budget recommendations, and conversation rules — fed from one of four
mutually-exclusive sources.

**Actions to perform:**

* Add direct question/answer pairs under **Content or FAQ** — e.g. *"Do you provide visa
  assistance?"*, *"Can I customize my trip?"*, *"Which destinations are best for honeymoon?"*.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-02-training-campaign-faq-content.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=c09a68b097765f37cf49f37dbb71d90b" alt="Training Campaign Name TravelEase Holidays with Content or FAQ entries: Do you provide visa assistance? Can I customize my trip? Which destinations are best for honeymoon?" width="1049" height="544" data-path="images/learn/ai-agent-use-case-travel-agency/step-02-training-campaign-faq-content.png" />
</Frame>

* Instead of FAQs, choose one other source depending on how the data changes:
  * **URL Training** — the AI learns directly from the company website; refresh training
    whenever the website content changes.

  * **File Training** — upload a PDF, DOCX, catalog, or brochure (e.g. TravelEase's package
    brochure) and the AI reads it directly.

  * **Google Sheet Training** — structured, frequently-updated data without editing the AI
    manually, e.g.:

    | Destination | Price   | Days |
    | ----------- | ------- | ---- |
    | Bali        | ₹80,000 | 5    |
    | Dubai       | ₹95,000 | 6    |

  * **API Training** — retrieves *live* information instead of static text: flight status,
    hotel availability, package availability, currency rates.

**Expected result:** When a message comes in, the AI Agent works through its sources in order
until it has enough to answer:

```
Customer message
   → AI Agent receives it
   → Searches the AI Training Campaign
   → Reads the Prompt Message
   → Searches FAQs
   → Searches Files
   → Searches URL content
   → Searches Google Sheet
   → Calls API (if configured)
   → Generates response
   → Replies to customer
```

**Notes:** Use **FAQs**/**File Upload** for information that rarely changes, **Google Sheet**
for structured data someone else updates often, and **API** for anything true right now and
false five minutes later.

### Step 4 — Route "Talk to Human" requests with Bot Flow Trigger

**Objective:** Hand off to a fixed, structured flow instead of letting the AI attempt an answer.

**Explanation:** [Intent Detection](/learn/whatsapp-ai-agent#intent-detection-campaign) reads
the customer's message, matches it to a named intent, and performs one of three actions —
routing the conversation instead of sending every message through the same knowledge base.

**Actions to perform:**

* Create an intent named **Talk to Human** matching phrases like *"I want to talk to a human"*,
  *"Connect me with an agent"*, *"I need customer support"*, *"Can I speak with someone?"*.
* Enable **Bot Flow Trigger**, pointed at a **Human Support** [Keyword Replies](/learn/whatsapp-keyword-replies)
  flow that asks the customer to pick Sales, Technical Support, Billing, or General Enquiry,
  then collects Name, Phone Number, Email, and Query before handing off.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-04-intent-talk-to-human.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=85215eb5c0d585dc29d2dbfcf39c2983" alt="Create Intent Detection modal named Talk to Human, with example phrases I want to talk to a human, Connect me with an agent, I need customer support, and Bot Flow Trigger enabled" width="526" height="537" data-path="images/learn/ai-agent-use-case-travel-agency/step-04-intent-talk-to-human.png" />
</Frame>

**Expected result:** *"I want to talk to a human"* → Bot Flow Trigger starts the Human Support
flow → customer selects Sales → the conversation is assigned to the Sales team with no manual
intervention.

**Notes:** Use Bot Flow Trigger whenever the business wants structured data collection or a
fixed path, rather than letting the AI free-answer.

### Step 5 — Route sales/complaint messages with Agent Assignment

**Objective:** Skip the AI entirely for messages that should go straight to a team.

**Explanation:** Agent Assignment sends the conversation straight to a team, with an automated
acknowledgement, instead of the AI attempting to answer a sales or complaint message itself.

**Actions to perform:**

* Create an intent named **Sales Enquiry** matching *"I want to buy"*, *"I need pricing"*,
  *"Send me a quotation"*, *"Product cost"*, with **Agent Assignment** enabled, assigned to the
  **Sales** team.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-05-intent-sales-enquiry.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=a404010b0743368be575d3d9fbe4c417" alt="Create Intent Detection modal named Sales Enquiry, with example phrases I want to buy, I need pricing, Send me a quotation, Product cost, and Agent Assignment enabled, assigned to the Sales team" width="516" height="536" data-path="images/learn/ai-agent-use-case-travel-agency/step-05-intent-sales-enquiry.png" />
</Frame>

* Repeat the same pattern for other intents and teams:

  | Intent          | Assigned team     |
  | --------------- | ----------------- |
  | Sales Enquiry   | Sales             |
  | Complaint       | Customer Care     |
  | Technical Issue | Technical Support |

**Expected result:** A message matching "Sales Enquiry" is assigned straight to the Sales team
— the AI never attempts to answer it.

**Notes:** A typical team structure behind these assignments — Marketing (campaigns,
promotions), Sales (enquiries, pricing, purchases), Customer Care (complaints, refunds), Technical
Support (product issues), HR (recruitment) — decides how many intents you'll need.

### Step 6 — Point specific topics at a dedicated campaign with AI-Driven Responses

**Objective:** Let the AI keep answering, but from a more focused knowledge base than the
account's default.

**Explanation:** AI-Driven Responses is how one account runs several AI "experts" side by side
— each intent pointed at its own training campaign.

**Actions to perform:**

* Create an intent named **Travel Questions** matching *"Holiday Packages"*, *"Visa"*,
  *"Hotels"*, *"Flights"*, *"Destinations"*, with **AI-Driven Responses** enabled and pointed at
  the Travel Assistant campaign.

<Frame>
  <img src="https://mintcdn.com/chatsyncs/A1pIYUq87bSjDcLl/images/learn/ai-agent-use-case-travel-agency/step-06-intent-travel-questions.png?fit=max&auto=format&n=A1pIYUq87bSjDcLl&q=85&s=95fa4e769f2951a40b381a2eb3e6c754" alt="Create Intent Detection modal named Travel Questions, with example phrases Holiday Packages, Visa, Hotels, Flights, Destinations, and AI-Driven Responses enabled with an AI training data source selected" width="517" height="529" data-path="images/learn/ai-agent-use-case-travel-agency/step-06-intent-travel-questions.png" />
</Frame>

* The same pattern lets other departments run their own dedicated campaign:

  | Intent           | Dedicated training campaign | Contains                                                |
  | ---------------- | --------------------------- | ------------------------------------------------------- |
  | Travel Questions | Travel Assistant            | Holiday packages, visa, hotels, flights, destinations   |
  | Healthcare       | Hospital Assistant          | Doctors, departments, appointments, medical services    |
  | Real Estate      | Property Assistant          | Property listings, pricing, amenities, site visits      |
  | Education        | School Assistant            | Admissions, courses, fees, timings, faculty information |
  | E-Commerce       | Shopping Assistant          | Products, inventory, orders, shipping, returns          |

**Expected result:** *"I want to know about honeymoon packages"* → Intent Detection matches
"Travel Questions" → AI-Driven Responses answers from the Travel Assistant campaign instead of
the account's default one.

**Notes:** Without Intent Detection, every message is processed by the same AI knowledge base
regardless of what's actually being asked.

## Features Used

| Feature              | Purpose                                                     | Documentation                                                  |
| -------------------- | ----------------------------------------------------------- | -------------------------------------------------------------- |
| AI Agent             | Talks to the customer using trained knowledge               | [AI Agent](/learn/whatsapp-ai-agent)                           |
| AI Training Campaign | Stores the business's knowledge (FAQs/URL/File/Sheet/API)   | [AI Knowledge Base](/learn/whatsapp-ai-knowledge-base)         |
| Prompt Message       | Defines the AI's tone, length, and boundaries               | [AI Agent](/learn/whatsapp-ai-agent#ai-training-campaign)      |
| Intent Detection     | Routes messages to a human, a team, or a different campaign | [AI Agent](/learn/whatsapp-ai-agent#intent-detection-campaign) |
| Keyword Replies      | Runs the structured Human Support flow                      | [Keyword Replies](/learn/whatsapp-keyword-replies)             |

## Expected Result

* Customers get instant, accurate answers about packages, visa, hotels, and flights at any hour.
* Every customer gets the same consistent tone and information, governed by the Prompt Message.
* "Talk to Human" requests are collected and handed off with no manual intervention.
* Sales enquiries and complaints skip the AI entirely and go straight to the right team.
* Multiple knowledge bases (Travel, Healthcare, Real Estate, Education, E-Commerce) can run side
  by side in the same account, each answering only its own topic.

## FAQs

<AccordionGroup>
  <Accordion title="How do multiple AI Training Campaigns work in one account?">
    Create one training campaign per topic or department (e.g. Travel Assistant, Hospital
    Assistant), then have each Intent Detection intent point its **AI-Driven Responses** action
    at the matching campaign — see Step 6 above.
  </Accordion>

  <Accordion title="When should a message trigger a Bot Flow instead of an AI answer?">
    When the business wants structured data collection or a fixed path — e.g. escalating to a
    human, or booking an appointment — use **Bot Flow Trigger** instead of letting the AI free-
    answer. See Step 4 above.
  </Accordion>

  <Accordion title="How do I stop the AI from answering sales or complaint messages itself?">
    Create an intent for it (e.g. `Sales Enquiry`, `Complaint`) with **Agent Assignment**
    enabled, pointed at the right team. The message skips the AI and goes straight to that team
    — see Step 5 above.
  </Accordion>

  <Accordion title="In what order does the AI Agent check its knowledge sources?">
    It searches the AI Training Campaign, reads the Prompt Message, then checks FAQs, Files,
    URL content, Google Sheet, and finally calls the API if one is configured — see the
    Expected Result in Step 3 above.
  </Accordion>

  <Accordion title="Can this same setup work for a business that isn't a travel agency?">
    Yes — the structure (AI Agent + Training Campaign + Prompt Message + Intent Detection) stays
    identical. Only the training content and the intents you define change — swap the business
    profile in Prerequisites for a hospital's, school's, or store's own details.
  </Accordion>
</AccordionGroup>
