Travel Agent
  • 22 May 2025
  • 5 Minutes to read
  • PDF

Travel Agent

  • PDF

Article summary

Automated flight search and fare comparison using Google Flights with real-time notifications

This deep dive use case shows how AIW can automate a flight booking scenario with real-time fare notifications. It walks through each step, from capturing the user's request to checking flight options, comparing prices, and sending prompt updates.

This example highlights how Integration Hub, Automation, and Agentic AI components work together to simplify and speed up a task that’s typically time -consuming when done manually.

 Goal

To automate the process of searching for flights, comparing fare options, and sending real-time notifications when the best prices are found—making it faster and easier for users to book flights at the right time.

 Scenario

The travel desk or admin team at NovaTech wants to implement an AI-powered, automated self-service solution that allows employees to search for flights and receive real-time price comparison notifications without the need for manual browsing, follow-ups, or constant checking. This ensures a faster, more informed, and efficient flight booking process.

The team aims to reduce repetitive tasks by eliminating the need to manually monitor flight prices or repeatedly search for the best deals.

  User Persona: Administrator

Solution

  1. Create a Runbook (Sym_AIW_Task) using the Automation component.

    This step involves setting up an AI-powered automation task (Runbook) to handle the core logic and workflows related to price notifications.

  2. Create a Recipe Flow (Google: Flights Search) using the Integration Hub component.

    In this step, you set up a recipe to integrate with Google Flights or another flight API to fetch the required flight data for comparison.

  3. Create the Runbook and Recipe agents (Sym_AIW_Task and Google: Flight Search) to enable Google Flights search and fare comparison.

    This scheduler ensures that the runbook or flight search process is executed at predefined intervals, like checking for price updates or triggering the workflow at specific times.

Steps

Configure the Required Script

Before creating a workflow using the Automation component, ensure that the script  SYM_AIW_Task is configured.

Create a New Skill

To create a new skill, perform the following steps:

Navigate to Automation > Skills > Manage Skills > New Skill. Configure the following properties as described in the table.

Field Name

Value

Skill Name

SYM_AIW_Task

Category

API Management

Description

SYM_AIW_Task

Field Name

Value

Max Run Time (In Mins)

15

Remote Execution By

System Account

Field Name

Value

Input Name

XML Output, Folder Access, SharePath, FileServer

Mandatory

Enable

Field Name

Value

Output Variable

Sucess

Output Source

Execution Output

Field Name

Value

Success Condition

Enable

Variable

Success

Operator

Contains

Value

Script Executed Successfully

To create a Workflow, perform the following steps:

  1. Navigate to Automation > Workflows > Manage Workflows > New Workflow. The New Workflow pane is displayed.

    Figure: New Workflow

  2. Double-click BEGIN to display the Workflow Configuration pop-up window.

    Figure: Workflow Configuration

  3. Configure the properties as listed in the following table:

    Field Name

    Values

    Workflow Name

    Sym_AIW_Task

    Trigger Event

    API/Scheduler

    Active

    Active

    Workflow Category

    Access Rights Management

    Description

    This Workflow is to get access for shared folder.

    Content Parser and Condition Configuration

    Conditions

    N/A

    Content Parser

    N/A

  4. Drag and drop the Skill named Sym_AIW_Task on the Workflow pane from the left navigation bar.

    Figure:   New Workflow

    Field Name

    Values

    Style

    Texts

    Title

    Sym_AIW_Task

    Styles

    Title border color

    R,G,B - 0, 0, 0

    Background

    R,G,B - 0, 0, 0

    Title color

    R,G,B - 0, 0, 0

    Skill Description

    Sym_AIW_Task

    Action

    Skill Details

    Skill Version

    V1

    Skill Name

    Sym_AIW_Task

    Skill Language

    Powershell Script

    Target Type

    CI

    Target Host Type

    TBD

    Proxy Server Host

    TBD

    Schedule Type

    One Time

    Retry Intervals (In Mins)

    0

    Retry Count

    0

    Parameter Details

    Input Parameter Name: Data Source: Data Field

    • XML Output, API Scheduler, UserEmailID

    • FolderAccess, API Scheduler, AccessType

    • SharePath, API Scheduler, FolderPath

    • FileServer, Fixed Input, NEPRDWINWEB01(TBD)

  5. Connect the edges as shown in the following diagram for the workflow to be functional.

Create a Recipe using Integration Hub Component

To create Recipe, perform the following steps:

  1. Select the Project.

  2. Click the Create arrow, then select Recipe.

    The My New Recipe page is displayed.

  3. Enter Name, select Location (The project or folder where you want to store your recipe) and Pick a starting point to create a Recipe.

    Select Trigger from the actions.

  4. Click Start building to open your new Recipe in the Recipe editor.

  5. For the Trigger, Select API platform that specifies the conditions to start the workflow from App.

  6. Under Action, select New API Request which is used to create an API request handler.

  7. Under set up, for the New API request, configure the following fields.

    a. Under the Request section, set the Content type to JSON.

    b. Click Add header to define one or more Request headers.

    c. Under Path parameters, click Use JSON or add fields manually to Describe Path Parameters.

    d. In the Request schema section, click Use JSON to enter the expected input schema.

  8. Under Actions, select HTTP Connection from app.

  9. Select Action in App and Return API response.

  10. Select End the Recipe.

    Figure: Google-Flights search Recipe

Create Recipe and Runbook agents using Agentic AI Studio Component

To create Agentic AI Flow for flight search and fare comparison, perform the following steps:

  1. Navigate to Agentic AI Studio.

  2. Click New Flow. The Get Started pop-up is displayed.

  3. Click Blank Flow.

  4. Navigate to left side Components sidebar.

  5. Drag and drop the Chat Input component.

  6. Drag and drop the User Profile Extraction component. Connect the edges of Chat Input component and User Profile Extraction component.

  7. Drag and drop the Agent Instruction component. Connect the edges of User Profile Extraction component and Agent Instruction component.

  8. Drag and drop the Recipe Agent from the left side bar to the canvas.

    Figure: Recipe Agent

  9. Click Recipe dropdown. It displays the list of runbooks available for your Workspace.

  10. Drag and drop the Runbook Agent from the left side bar to the canvas.

    Figure: Runbook Agent

  11. Select the Google: Flights Search Recipe from the displayed list. It will trigger the selected Recipe (Workflow) from Automation to access the Flight folder.

  12. Click Runbook dropdown. It displays the list of runbooks available for your Workspace.

  13. Select the Sym_AIW_Task Runbook from the displayed list. It will trigger the selected Runbook (Workflow) from Automation to access the AIW Task folder.  

  14. Drag and drop the Orchestration Agent component.

  15. Connect the edges of Agent Instruction component, Recipe, Runbook and Orchestration Agent (Agent Instructions connection edge).

  16. Connect the Tool edge of Runbook and Recipe Agent with the Tools edge of Orchestration Agent component.

  17. Connect the Message edge of Chat Input Agent and with Input edge of Orchestration Agent component.

  18. Connect the Response edge of the Orchestration Agent component to the Output component.

    The following diagram shows the complete Agentic AI workflow after all edges are connected.

    Figure: Agentic AI Flow

  19. Once the workflow is connected, click the Playground button to view the output.

    Figure: Playground

This workflow lets you search for flights and receive real‑time price alerts without ever leaving your chat interface. Simply enter your travel request, and the system:

  • Automatically checks Google Flights for available options

  • Compares fares across airlines

  • Notifies you instantly when the best price is found

No manual browsing or repeated checks - just tell the AIW chat your dates and let it handle the rest.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.