Skip to main content
Connectors

Custobar connector

Set up the Custobar connector in Kaivo: authentication, configuration, the 4 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 Custobar 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 CRM data instead of moving it.

What is the Custobar connector

Sync your Custobar customer and marketing data into BigQuery with Kaivo to analyse customers, campaigns, and sales in one place.

CategoryCRM, Marketing & Sales
AuthenticationAPI key
SetupSelf-service

Getting started with the Custobar connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your Custobar 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 Custobar

Authenticate with your API Key.

FieldDescription
API Key

Custobar API key with access to the following endpoints:

  • GET /api/data/customers/
  • GET /api/data/events/
  • GET /api/data/products/
  • GET /api/data/sales/

Configuring the Custobar connector

When you set up the connector, you provide:

FieldDescription
Company

Company name exactly as in the Custobar URL (e.g. https://COMPANY.custobar.com/).

Event Types

Only events with the selected types are fetched. See here.

Event Start Date

Only events starting from this date are fetched

Tables and columns synced from Custobar

Kaivo syncs 4 tables from Custobar 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.
areaSTRING
birth_dateDATE
birthdaySTRING
blocked_emailSTRING
campaigns_since_last_email_activityINT64
can_emailBOOL
can_postBOOL
can_profileBOOL
can_pushBOOL
can_smsBOOL
canonical_idSTRING
citySTRING
companySTRING
countrySTRING
datasourceSTRING
date_joinedTIMESTAMP
emailSTRING
external_idSTRING
first_nameSTRING
genderSTRING
house_numberSTRING
house_number_additionSTRING
is_forgottenBOOL
is_generatedBOOL
languageSTRING
last_email_activity_dateTIMESTAMP
last_loginTIMESTAMP
last_nameSTRING
phone_numberSTRING
provinceSTRING
shop_idSTRING
stateSTRING
street_addressSTRING
street_nameSTRING
vat_numberSTRING
zip_codeSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: customers__mailing_lists

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: customers__tags

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.
automated_email_keyINT64
automated_push_idINT64
automated_sms_idINT64
campaign_action_idINT64
campaign_idINT64
campaign_keySTRING
can_emailBOOL
can_postBOOL
can_profileBOOL
can_smsBOOL
countrySTRING
coupon_codeSTRING
created_by_user_idSTRING
customer_idSTRING
customer_tokenSTRING
datasourceSTRING
dateTIMESTAMP
emailSTRING
expire_dateTIMESTAMP
external_idSTRING
flow_idINT64
idSTRING
index_keySTRING
ip_addressSTRING
is_deletedBOOL
labelSTRING
languageSTRING
machine_openBOOL
messageSTRING
message_idSTRING
pathSTRING
phone_numberSTRING
product_eanSTRING
product_idSTRING
product_priceINT64
product_sale_priceINT64
product_skuSTRING
reaction_idINT64
reasonSTRING
requestee_idINT64
sale_idSTRING
send_dateTIMESTAMP
send_from_addressSTRING
send_from_nameSTRING
sender_emailSTRING
sender_nameSTRING
sentiment_valueINT64
shop_idSTRING
sms_countINT64
sourceSTRING
stateSTRING
subjectSTRING
tracking_numberSTRING
typeSTRING
urlSTRING
url_offsetINT64
url_offset_typeSTRING
user_agentSTRING
utm_campaignSTRING
utm_contentSTRING
utm_mediumSTRING
utm_sourceSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: events__mailing_lists

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: events__product_category

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: events__product_ids

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: events__recipient_ids

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: events__tags

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.
brandSTRING
currencySTRING
datasourceSTRING
dateTIMESTAMP
descriptionSTRING
eanSTRING
exclude_from_recommendationsBOOL
external_idSTRING
highest_priceINT64
imageSTRING
in_stockBOOL
is_deletedBOOL
languageSTRING
lowest_priceINT64
minimal_priceINT64
priceINT64
price_before_campaignINT64
ratingSTRING
recommendation_freq_daysFLOAT64
sale_priceINT64
salerow_priorityINT64
shop_idSTRING
short_descriptionSTRING
skuSTRING
titleSTRING
typeSTRING
unitSTRING
urlSTRING
vendorSTRING
visibleBOOL
weightSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__category

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__category_id

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__images

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__main_product_ids

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__recommendation_set_ids

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__stock

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.
quantityINT64
shop_idSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: products__tags

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.
citySTRING
conversion_urlSTRING
conversion_user_agentSTRING
countrySTRING
currencySTRING
customer_can_emailBOOL
customer_can_smsBOOL
customer_companySTRING
customer_idSTRING
customer_languageSTRING
datasourceSTRING
dateTIMESTAMP
discountINT64
discount_in_currencyINT64
emailSTRING
exchange_rateFLOAT64
external_idSTRING
first_nameSTRING
is_deletedBOOL
last_nameSTRING
phone_numberSTRING
rowsJSON
shippingINT64
shipping_in_currencyINT64
shipping_methodSTRING
shop_idSTRING
stateSTRING
street_addressSTRING
totalINT64
total_in_currencyINT64
zip_codeSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: sales__coupon_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: sales__payment_method

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: sales__products

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.
discountINT64
discount_in_currencyINT64
eanSTRING
external_idSTRING
is_deletedBOOL
product_brandSTRING
product_idSTRING
product_skuSTRING
product_titleSTRING
product_typeSTRING
product_vendorSTRING
quantityINT64
totalINT64
total_in_currencyINT64
unitSTRING
unit_priceINT64
unit_price_in_currencyINT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: sales__products__product_category

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: sales__products__tags

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: sales__tags

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.

How the Custobar sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Custobar 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 Custobar?

It depends on how much history is in your Custobar 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 Custobar'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 Custobar, 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 Custobar 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 Custobar connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Custobar data

Customer segments

Analyse your customer records to build segments and understand buying behaviour.

Campaign performance

Track campaign sends and engagement to see what drives sales.

Report on purchases over time to monitor revenue and repeat buying.

Marketing and sales together

Combine Custobar data with the rest of your data in BigQuery to connect campaigns to revenue.

Use Custobar data in your AI and BI tools

Once Custobar 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 Custobar 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 Custobar connector pricing and plan details.

Was this helpful?

Still need help? Share an idea