Extract and transform Navan booking and transaction data using pagination, filtering, and data pipeline connectors.
Use when building data warehouses, analytics dashboards, or debugging data quality issues with Navan data.
Trigger with "navan data handling", "navan data extraction", "navan pagination".
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Extract and transform Navan booking and transaction data using pagination, filtering, and data pipeline connectors.
Use when building data warehouses, analytics dashboards, or debugging data quality issues with Navan data.
Trigger with "navan data handling", "navan data extraction", "navan pagination".
This skill covers data extraction and transformation patterns for Navan booking and transaction data. Navan exposes two primary data tables with different refresh behaviors: BOOKING (full re-import weekly, keyed by UUID) and TRANSACTION (incremental append-only). Data can be extracted via the direct REST API or through managed connectors — Fivetran, Airbyte (source-navan v0.0.42), and Estuary Flow. This skill provides pagination patterns, date-range filtering, UUID-based deduplication, and schema mapping for downstream analytics.
Prerequisites
Navan account with OAuth 2.0 API credentials (see navan-install-auth)
For direct API: Node.js 18+ or Python 3.8+
For Fivetran: Fivetran account with Navan connector
For Airbyte: Airbyte instance (Cloud or OSS) with source-navan v0.0.42+
Configure sync frequency (recommended: daily for BOOKING, hourly for TRANSACTION)
Map schema: Fivetran creates navan.booking and navan.transaction tables
-- Fivetran destination query: trip summary by departmentSELECT
department,
COUNT(*) AS trip_count,
SUM(total_cost) AS total_spend,
AVG(total_cost) AS avg_trip_cost
FROM navan.booking
WHERE booking_date >='2026-01-01'GROUPBY department
ORDERBY total_spend DESC;
Step 5: Airbyte Connector Configuration
# Airbyte source-navan connector config (v0.0.42)# Supports one stream: bookingssourceDefinitionId:source-navanconnectionConfiguration:client_id:"${NAVAN_CLIENT_ID}"client_secret:"${NAVAN_CLIENT_SECRET}"# Available streams: bookings# Sync mode: full_refresh (BOOKING table is re-imported weekly)
Airbyte setup steps:
In Airbyte, add source > search "Navan"
Enter client_id and client_secret
Select "bookings" stream
Set sync mode to "Full Refresh | Overwrite" (matches Navan's weekly re-import)
After setting up data extraction, proceed to navan-data-sync for incremental sync strategies or navan-performance-tuning for optimizing large data pulls.