- 22 May 2025
- 5 Minutes to read
- Print
- PDF
Travel Agent
- Updated on 22 May 2025
- 5 Minutes to read
- Print
- PDF
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
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.
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.
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:
Navigate to Automation > Workflows > Manage Workflows > New Workflow. The New Workflow pane is displayed.
Figure: New Workflow
Double-click BEGIN to display the Workflow Configuration pop-up window.
Figure: Workflow Configuration
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
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)
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:
Select the Project.
Click the Create arrow, then select Recipe.
The My New Recipe page is displayed.
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.
Click Start building to open your new Recipe in the Recipe editor.
For the Trigger, Select API platform that specifies the conditions to start the workflow from App.
Under Action, select New API Request which is used to create an API request handler.
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.
Under Actions, select HTTP Connection from app.
Select Action in App and Return API response.
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:
Navigate to Agentic AI Studio.
Click New Flow. The Get Started pop-up is displayed.
Click Blank Flow.
Navigate to left side Components sidebar.
Drag and drop the Chat Input component.
Drag and drop the User Profile Extraction component. Connect the edges of Chat Input component and User Profile Extraction component.
Drag and drop the Agent Instruction component. Connect the edges of User Profile Extraction component and Agent Instruction component.
Drag and drop the Recipe Agent from the left side bar to the canvas.
Figure: Recipe Agent
Click Recipe dropdown. It displays the list of runbooks available for your Workspace.
Drag and drop the Runbook Agent from the left side bar to the canvas.
Figure: Runbook Agent
Select the Google: Flights Search Recipe from the displayed list. It will trigger the selected Recipe (Workflow) from Automation to access the Flight folder.
Click Runbook dropdown. It displays the list of runbooks available for your Workspace.
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.
Drag and drop the Orchestration Agent component.
Connect the edges of Agent Instruction component, Recipe, Runbook and Orchestration Agent (Agent Instructions connection edge).
Connect the Tool edge of Runbook and Recipe Agent with the Tools edge of Orchestration Agent component.
Connect the Message edge of Chat Input Agent and with Input edge of Orchestration Agent component.
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
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.