Skip to main content
Connectors

Flexport connector

Set up the Flexport connector in Kaivo: authentication, configuration, the 5 BigQuery tables it syncs, and answers to common questions.

Written By Lauri Raivio

Last updated 16 days ago

Kaivo is a fully managed data platform that syncs your Flexport data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your e-commerce data instead of moving it.

What is the Flexport connector

Sync your Flexport logistics data into BigQuery with Kaivo to analyse shipments, invoices, and freight cost.

CategoryE-commerce
AuthenticationAPI key
SetupSelf-service

Getting started with the Flexport connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your Flexport account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticating Flexport

Authenticate with your API Key.

FieldDescription
API Key

Configuring the Flexport connector

When you set up the connector, you provide:

FieldDescription
Start Date

Any data before this date will not be fetched.

Tables and columns synced from Flexport

Kaivo syncs 5 tables from Flexport into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /network/company for this object.
idSTRINGUnique identifier for the object.
nameSTRINGName of the company.
refSTRINGYour ref for this company entity, as set in the Network tab.
editableBOOLWhether or not you manage this company and can edit its attributes.
locations___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
locations__linkSTRINGAPI end point that points to a list of resources
locations__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
contacts___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
contacts__linkSTRINGAPI end point that points to a list of resources
contacts__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: companies__entities

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: companies__entities__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGType of the object. Always /invoice for this object.
idSTRINGUnique ID for the invoice
nameSTRINGUnique name for the invoice
issued_atTIMESTAMPWhen the invoice was issued. In ISO8601 UTC format with timezone denoted by Z.
due_dateDATEDue date of the invoice. Calendar date only, no time.
total___objectSTRINGString representing the object's type. Always /money for this object.
total__amountSTRINGA string representing the decimal amount
total__currency_codeSTRINGThe currency of the amount
balance___objectSTRINGString representing the object's type. Always /money for this object.
balance__amountSTRINGA string representing the decimal amount
balance__currency_codeSTRINGThe currency of the amount
statusSTRINGStatus of the invoice. One of:
typeSTRINGWhat the invoice is being issued for. Shipment related charges are type Shipment and non-shipment related charges are type Client
voided_atTIMESTAMPWhen the invoice was voided (if applicable). In ISO8601 UTC format with timezone denoted by Z.
last_updated_atTIMESTAMPTime of the last adjustment to in invoice. In ISO8601 UTC format with timezone denoted by Z.
recipient___objectSTRINGString representing the object's type. Always /company_entity for this object.
recipient__idINT64Unique identifier for the object.
recipient__nameSTRINGName of the company entity.
recipient__refSTRINGYour reference for this company entity, as set in the Network tab.
recipient__mailing_addressJSONAddress of the company entity.
issuer___objectSTRINGString representing the object's type. Always /company_entity for this object.
issuer__idINT64Unique identifier for the object.
issuer__nameSTRINGName of the company entity.
issuer__refSTRINGYour reference for this company entity, as set in the Network tab.
issuer__mailing_addressJSONAddress of the company entity.
shipments___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
shipments__linkSTRINGAPI end point that points to a list of resources
shipments__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__recipient__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__issuer__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__items

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /invoice_item for this object.
nameSTRINGLine item name. Example: FCL 40' HQ
slugSTRINGLine item code. Example: fcl_40_hq
categorySTRINGCategory of the charge. Example freight
amount___objectSTRINGString representing the object's type. Always /money for this object.
amount__amountSTRINGA string representing the decimal amount
amount__currency_codeSTRINGThe currency of the amount
rateJSONDescribes the rate per unit used to calculate the price of a line item
quantityJSONDescribes the number of units used to calculate the price of a line item
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__credit_memos

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /credit_memo for this object.
amount___objectSTRINGString representing the object's type. Always /money for this object.
amount__amountSTRINGA string representing the decimal amount
amount__currency_codeSTRINGThe currency of the amount
credited_atTIMESTAMPWhen the credit was applied. In ISO8601 UTC format with timezone denoted by Z.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__credit_memos__categories

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__credit_memos__reasons

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__notes

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /network/location for this object.
idSTRINGUnique identifier for the location.
nameSTRINGName of the location.
address___objectSTRINGString representing the object's type. Always /address for this object.
address__street_addressSTRINGAddress line 1 (Street address/PO Box).
address__street_address2STRINGAddress line 2 (Apartment/Suite/Unit/Building).
address__citySTRINGCity/Town.
address__stateSTRINGState/County/Province/Region.
address__countrySTRINGCountry.
address__country_codeSTRINGTwo-letter country code (ISO 3166-1 Alpha-2).
address__zipSTRINGZIP or postal code.
address__timezoneSTRINGTimezone for this address
address__refSTRINGYour reference for the address, as set in your network tab
address__unlocodeSTRINGIf port, then UN/LOCODE (United Nations Code for Trade and Transport Locations).
editableBOOLWhether or not you manage this location and can edit its attributes.
contacts___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
contacts__linkSTRINGAPI end point that points to a list of resources
contacts__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
company___objectSTRINGString representing the object's type. Always /api/refs/object for this object.
company__linkSTRINGAPI end point that points to a resource.
company__ref_typeSTRINGThe _object value of the object that the link points to.
company__idSTRINGThe id value of the object that the link points to.
refSTRINGYour custom ref to this location.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product for this object.
idINT64Unique identifier for the object.
nameSTRINGName of product.
descriptionSTRINGDescription of product.
skuSTRINGSKU of product.
product_categorySTRINGThe category of the product
country_of_originSTRINGNation in which the product is manufactured
client_verifiedBOOLIndicates whether Client has verified this Product.
archived_atTIMESTAMPA date string representing when the product was archived. Will be null if product is not archived. In ISO8601 UTC format with timezone denoted by Z.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__product_properties

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/property for this object.
typeSTRINGThe property describing the product
valueSTRINGThe value associated with the product
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__hs_codes

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /hs_code for this object.
descriptionSTRINGDescription of HS or HTS code classification.
codeSTRING6 digit (international HS) or 10 digit (US HTS) code.
country_codeSTRINGThe country code that the HS code belongs to.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__classifications

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/classification for this object.
regionSTRINGThe two letter code for the region of the classification
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__classifications__codes

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__suppliers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/supplier for this object.
idINT64
refSTRING
country_of_originSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /shipment for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the shipment.
bookingJSONThe booking associated with this shipment
transportation_modeSTRINGTransportation mode of the main carriage of the shipment.
freight_typeSTRINGThe type of freight service provided. One of:
archived_atTIMESTAMPDate when the shipment was archived, if applicable. In ISO8601 UTC format with timezone denoted by Z.
incotermSTRINGThe Incoterm of your shipment.
calculated_weight___objectSTRINGString representing the object's type. Always /quantity/weight for this object.
calculated_weight__valueFLOAT64Specifies the quantity of units as a float.
calculated_weight__unitSTRINGSpecifies the unit of measure for this quantity.
calculated_volume___objectSTRINGString representing the object's type. Always /quantity/volume for this object.
calculated_volume__valueFLOAT64Specifies the quantity of units as a float.
calculated_volume__unitSTRINGSpecifies the unit of measure for this quantity.
piecesINT64Total number of pieces in the shipment.
it_numberSTRINGInbond Transit number used for US Customs
created_dateTIMESTAMPDate the user confirmed the Flexport quote for this Shipment.
statusSTRINGStatus of the shipment. One of:
prioritySTRINGThe level of attention Flexport should give to this shipment.
updated_atTIMESTAMPDate when the shipment object was last updated. In ISO8601 UTC format with timezone denoted by Z.
estimated_departure_dateTIMESTAMPEstimated departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.
actual_departure_dateTIMESTAMPActual departure date from the first port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.
estimated_arrival_dateTIMESTAMPEstimated arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.
actual_arrival_dateTIMESTAMPActual arrival date to the last port of the main voyage. In ISO8601 format with timezone denoted by +/-HH:MM.
cargo_ready_dateDATEDate when cargo is ready for pickup at the origin location. Calendar date only, no time.
wants_freight_management_bcoBOOLDetermines if a shipment bypasses a freight forwarder and is booked directly with a steamship line.
wants_flexport_freightBOOLDetermines if a shipment is using Flexport services for a combination of import customs clearance or final leg delivery.
wants_commercial_invoice_transcriptionBOOL
wants_flexport_insuranceBOOL
wants_pickup_serviceBOOL
wants_trade_declaration_serviceBOOL
visibility_onlyBOOLIndicates if a shipment was requested for tracking via the Flexport visibility-only service.
wants_delivery_serviceBOOLDetermines if Flexport is responsible for door delivery on a shipment.
estimated_picked_up_in_full_dateTIMESTAMPEstimated pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.
actual_picked_up_in_full_dateTIMESTAMPActual pickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container. In ISO8601 format with timezone denoted by +/-HH:MM.
target_delivery_dateDATETarget date for when the shipment will be fully delivered. This date is set when the shipment''s booking is confirmed. This value may be different from estimated_delivered_in_full_date, which is updated when there is new information about the progress of a shipment. Date only.
estimated_delivered_in_full_dateTIMESTAMPEstimated delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.
actual_delivered_in_full_dateTIMESTAMPActual delivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container. In ISO8601 format with timezone denoted by +/-HH:MM.
wants_export_customs_serviceBOOLDetermines if the shipment requires Flexport to provide export customs service.
wants_import_customs_serviceBOOLDetermines if the shipment requires Flexport to provide import customs service.
ocean_shipmentJSONOcean-specific Shipment information. Available only if this is an ocean shipment. null otherwise.
air_shipmentJSONAir-specific Shipment information. Available only if this is an air shipment. null otherwise.
dangerous_goods___objectSTRINGString representing the object's type. Always /shipment/dangerous_goods for this object.
dangerous_goods__review_statusSTRING
legs___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
legs__linkSTRINGAPI end point that points to a list of resources
legs__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
customs_entries___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
customs_entries__linkSTRINGAPI end point that points to a list of resources
customs_entries__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
commercial_invoices___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
commercial_invoices__linkSTRINGAPI end point that points to a list of resources
commercial_invoices__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
documents___objectSTRINGString representing the object's type. Always /api/refs/collection for this object.
documents__linkSTRINGAPI end point that points to a list of resources
documents__ref_typeSTRINGThe _object value of each individual element of the list that link points to.
departure_dateTIMESTAMPDeparture date from the first port of the main voyage.
arrival_dateTIMESTAMPArrival date to the last port of the main voyage.
picked_up_in_full_dateTIMESTAMPPickup date from the origin location. For ocean shipments with multiple containers, this is the date of last picked up container.
delivered_in_full_dateTIMESTAMPDelivery date to the destination location. For ocean shipments with multiple containers, this is the date of last delivered container.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__dangerous_goods__classifications

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__shippers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__shippers__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__consignees

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__consignees__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__buyers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__buyers__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__sellers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__sellers__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__importers_of_record

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity for this object.
idINT64Unique identifier for the object.
nameSTRINGName of the company entity.
refSTRINGYour reference for this company entity, as set in the Network tab.
mailing_addressJSONAddress of the company entity.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__importers_of_record__vat_numbers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /company_entity/vat_number for this object.
country_codeSTRINGISO 3166 two-letter country code of the VAT number's country
numberSTRINGFull VAT number, including the country code
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /shipment_item for this object.
idINT64Unique identifier for the object.
total_unitsSTRINGTotal quantity of specific SKU within shipment.
total_weight___objectSTRINGString representing the object's type. Always /quantity/weight for this object.
total_weight__valueFLOAT64Specifies the quantity of units as a float.
total_weight__unitSTRINGSpecifies the unit of measure for this quantity.
total_volume___objectSTRINGString representing the object's type. Always /quantity/volume for this object.
total_volume__valueFLOAT64Specifies the quantity of units as a float.
total_volume__unitSTRINGSpecifies the unit of measure for this quantity.
purchase_order_numberSTRINGPurchase order number associated with SKU within shipment.
product___objectSTRINGString representing the object's type. Always /product for this object.
product__idINT64Unique identifier for the object.
product__nameSTRINGName of product.
product__descriptionSTRINGDescription of product.
product__skuSTRINGSKU of product.
product__product_categorySTRINGThe category of the product
product__country_of_originSTRINGNation in which the product is manufactured
product__client_verifiedBOOLIndicates whether Client has verified this Product.
product__archived_atTIMESTAMPA date string representing when the product was archived. Will be null if product is not archived. In ISO8601 UTC format with timezone denoted by Z.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items__product__product_properties

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/property for this object.
typeSTRINGThe property describing the product
valueSTRINGThe value associated with the product
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items__product__hs_codes

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /hs_code for this object.
descriptionSTRINGDescription of HS or HTS code classification.
codeSTRING6 digit (international HS) or 10 digit (US HTS) code.
country_codeSTRINGThe country code that the HS code belongs to.
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items__product__classifications

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/classification for this object.
regionSTRINGThe two letter code for the region of the classification
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items__product__classifications__codes

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: shipments__items__product__suppliers

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
_objectSTRINGString representing the object's type. Always /product/supplier for this object.
idINT64
refSTRING
country_of_originSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

How the Flexport sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Flexport supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won't get duplicate rows.

Frequently asked questions

How long does the initial sync take for Flexport?

It depends on how much history is in your Flexport account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they're much faster.

Can I sync only some tables or columns?

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don't select are never copied to your warehouse.

What happens when Flexport's schema changes?

New fields are never added automatically. You choose which fields to sync, so data you haven't selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table's sync mode: full-refresh tables always match what's currently in Flexport, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Flexport instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Flexport connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Flexport data

Shipment tracking

Use shipments to track freight volume and movement over time.

Freight cost

Join invoices with shipments to analyse logistics spend.

Supplier and location view

Use companies and locations to report on where goods move.

Use Flexport data in your AI and BI tools

Once Flexport data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here's how the most common destinations work with Flexport data.

Claude

Use Kaivo's MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Power BI

Microsoft's BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Data Studio

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

Tableau

The premium analytics standard, with native BigQuery integration. Setup guide →

Google Sheets

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Excel

Connect via Power Query's BigQuery connector. Setup guide →

Metabase

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for Flexport connector pricing and plan details.

Was this helpful?

Still need help? Share an idea