---
name: wrap-up-trip-expenses
description: "Close out a trip — bookings, estimates, and loose ends on card spend."
title: "Wrap up a trip"
url: https://agents.ramp.com/playbooks/wrap-up-trip-expenses
runtimes: [Claude Desktop, ChatGPT, Claude Code, Codex, Perplexity]
---

# Wrap up a trip

After travel, expenses scatter across card charges, bookings, and reimbursements. Your agent ties the trip together, surfaces what's still missing, and estimates mileage or per diem when you provide the inputs.

## 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))

Help me close out a business trip in Ramp.

Trip: [REPLACE — trip name, dates, or destination]

Pull my trip details and bookings, then:
1. List card transactions that look related and flag any missing receipts or memos
2. Estimate mileage or per diem if I provide distances or dates
3. Summarize what's done vs. still open

Ask me for any missing inputs before estimating. Do not submit reimbursements.
```

## ChatGPT

Copy and run this prompt:

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

Help me close out a business trip in Ramp.

Trip: [REPLACE — trip name, dates, or destination]

Pull my trip details and bookings, then:
1. List card transactions that look related and flag any missing receipts or memos
2. Estimate mileage or per diem if I provide distances or dates
3. Summarize what's done vs. still open

Ask me for any missing inputs before estimating. Do not submit reimbursements.
```

## 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`

Help me close out a business trip in Ramp.

Trip: [REPLACE — trip name, dates, or destination]

Pull my trip details and bookings, then:
1. List card transactions that look related and flag any missing receipts or memos
2. Estimate mileage or per diem if I provide distances or dates
3. Summarize what's done vs. still open

Ask me for any missing inputs before estimating. Do not submit reimbursements.
```

## 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`

Help me close out a business trip in Ramp.

Trip: [REPLACE — trip name, dates, or destination]

Pull my trip details and bookings, then:
1. List card transactions that look related and flag any missing receipts or memos
2. Estimate mileage or per diem if I provide distances or dates
3. Summarize what's done vs. still open

Ask me for any missing inputs before estimating. Do not submit reimbursements.
```

## Perplexity

Copy and run this prompt:

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

Help me close out a business trip in Ramp.

Trip: [REPLACE — trip name, dates, or destination]

Pull my trip details and bookings, then:
1. List card transactions that look related and flag any missing receipts or memos
2. Estimate mileage or per diem if I provide distances or dates
3. Summarize what's done vs. still open

Ask me for any missing inputs before estimating. Do not submit reimbursements.
```
