---
name: quote-a-compliant-flight
description: "Search policy-tagged flights and book only after you confirm the summary."
title: "Quote an in-policy flight"
url: https://agents.ramp.com/playbooks/quote-a-compliant-flight
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Quote an in-policy flight

Business travel booking should stay inside policy without tab-hopping. Your agent searches flights, tags in- and out-of-policy fares, shows a summary, and only books after you explicitly confirm.

## How to run

Identify which runtime you're operating in (Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity). Use the matching section below; ignore the others.

## Claude Desktop

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Claude Desktop ([connector directory](https://claude.ai/directory/61bac03c-3f98-4b3c-affb-1b99533fa82c))

Search for an in-policy flight in Ramp.

From: [REPLACE — origin airport or city]
To: [REPLACE — destination]
Depart: [REPLACE — date]
Return: [REPLACE — return date, or "one-way"]
Traveler: [REPLACE — me or another employee, if booking for someone else]

Show the best in-policy options with price and policy status.
Present a booking summary and wait for my explicit confirmation before completing any reservation.
If the flight is out of policy, ask for an out-of-policy reason before proceeding.
```

## ChatGPT

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in ChatGPT ([app](https://chatgpt.com/apps/ramp/asdk_app_69250fb6281c819195b52a1556b0060c))

Search for an in-policy flight in Ramp.

From: [REPLACE — origin airport or city]
To: [REPLACE — destination]
Depart: [REPLACE — date]
Return: [REPLACE — return date, or "one-way"]
Traveler: [REPLACE — me or another employee, if booking for someone else]

Show the best in-policy options with price and policy status.
Present a booking summary and wait for my explicit confirmation before completing any reservation.
If the flight is out of policy, ask for an out-of-policy reason before proceeding.
```

## Claude Code

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`

Search for an in-policy flight in Ramp.

From: [REPLACE — origin airport or city]
To: [REPLACE — destination]
Depart: [REPLACE — date]
Return: [REPLACE — return date, or "one-way"]
Traveler: [REPLACE — me or another employee, if booking for someone else]

Show the best in-policy options with price and policy status.
Present a booking summary and wait for my explicit confirmation before completing any reservation.
If the flight is out of policy, ask for an out-of-policy reason before proceeding.
```

## Codex

Copy and run this prompt:

```
## Before you run
- Ramp CLI installed: `curl -fsSL https://agents.ramp.com/install.sh | bash`
- Logged in: `ramp auth login`

Search for an in-policy flight in Ramp.

From: [REPLACE — origin airport or city]
To: [REPLACE — destination]
Depart: [REPLACE — date]
Return: [REPLACE — return date, or "one-way"]
Traveler: [REPLACE — me or another employee, if booking for someone else]

Show the best in-policy options with price and policy status.
Present a booking summary and wait for my explicit confirmation before completing any reservation.
If the flight is out of policy, ask for an out-of-policy reason before proceeding.
```

## Perplexity

Copy and run this prompt:

```
## Before you run
- Ramp connector enabled in Perplexity ([connector](https://www.perplexity.ai/computer/connectors?connector=ramp))

Search for an in-policy flight in Ramp.

From: [REPLACE — origin airport or city]
To: [REPLACE — destination]
Depart: [REPLACE — date]
Return: [REPLACE — return date, or "one-way"]
Traveler: [REPLACE — me or another employee, if booking for someone else]

Show the best in-policy options with price and policy status.
Present a booking summary and wait for my explicit confirmation before completing any reservation.
If the flight is out of policy, ask for an out-of-policy reason before proceeding.
```
