BigQuery to Zendesk Integration: 2 Easy Ways to Load Data

By: Published: June 30, 2022

bigquery to zendesk: FI

Google BigQuery is a cloud-based enterprise Data Warehouse that allows users to run SQL queries quickly and analyze large datasets interactively. BigQuery is a read-only data processing engine based on Google’s Dremel Technology.

Zendesk makes it possible for customer interactions from messaging, phone, chat, email, social media, and any other channel you can think of to all come together in one place.

This article talks about how to Connect Bigquery to Zendesk in a few simple steps. In addition to that, it also describes Zendesk and Bigquery briefly.

Table of Contents

What is Google BigQuery?

bigquery to zendesk: bigquery logo
Image Source

Google BigQuery is a highly scalable, serverless, and multi-cloud Data Warehouse that uses a build-in query engine. It is a highly scalable serverless, fully-featured, fully manageable Data Warehouse that enables scalable analysis over petabytes of data. It is developed by Google and launched on 19th May 2010.

BigQuery is also called SQL-based Data Warehouse as a Service (DWaaS) with zero infrastructure management. Google provides a complete package to their users with Big Data loading features on Google Cloud Storage and connectivity with various Google apps like Apps Script. Google BigQuery has many built-in features like Machine Learning and AI Capabilities, Geospatial Analysis, and Business Intelligence. 

BigQuery uses a Columnar Storage format that is optimized for analytical queries to store data. BigQuery displays data in tables, rows, and columns, with full database transaction semantics support (ACID).

Key Features of Google BigQuery

  • BigQuery is a serverless warehouse with zero infrastructure management.
  • BigQuery offers infinite storage with high performance in analyzing petabyte-sized datasets in seconds. 
  • Query languages like SQL allow users to query data through BigQuery.
  • BigQuery can analyze Big Data across multiple cloud platforms with BigQuery Omni.
  • BigQuery offers built-in Machine Learning and Artificial Intelligence capabilities.
  • Real-time analytics is possible with BigQuery. It integrates real-time data quickly and efficiently and makes analysis available for business.
  • Data Visualization is available in a variety of graphic formats.
  • BigQuery provides information about location and mapping using BigQuery Geographic Information Systems (GIS).

What is Zendesk?

bigquery to zendesk: zendesk logo
Image Source

Zendesk is a cloud-based help desk management system that provides customizable tools to create online communities, knowledge bases, and customer service portals. The solution provides a front-end portal that can be customized, live chat capabilities, and integration with programs like Salesforce and Google Analytics. Many different vertical markets, from small to large, use Zendesk, including technology, government, media, and retail.

The online customer portal for Zendesk assists support staff in keeping track of opened tickets and their status. Customers can search existing tickets for answers to questions similar to their own, and if they’re still unsatisfied, they can create new tickets in the portal. Support pages can be customized by Zendesk with company logos, themes, and brand images.

Key Features of Zendesk

Some of the Key Features of Zendesk CRM Software are as follows:

  • Internal Desk Help: Internal Help Desk Software from Zendesk helps you manage employee interactions and respond to queries and support requests quickly. It also includes tools to assist your staff in becoming more productive by increasing morale and decreasing costly downtime.
  • Knowledge Base: Zendesk’s Knowledge Base has a wealth of valuable articles that address frequently asked topics. Users can also limit the contents of the Knowledge Base to a particular client group. It is also possible to translate business blog content into other languages to provide consumers with a more personalized experience.
  • Analytics and Reporting: Zendesk comes with an Analytics tracking system and Reporting module that analyses data on Agent Performance, Tickets, and Customer Satisfaction in real-time. Users can alter the data using the filters and responsive Dashboard to come up with fresh conclusions. 
  • Triggers: Zendesk comes with pre-configured triggers that users may use or change, as well as the ability to construct unique custom triggers from scratch. The triggers can start a workflow based on particular actions or modifications made to a ticket.
  • Agent Collision Detection: This option allows businesses to check whether any other agents are looking at the same ticket at the same time. This indicator becomes active when agents start working on an issue or ticket. 

Explore Methods to Connect BigQuery to Zendesk

Google BigQuery offers exceptional performance because it can automatically scale up and down based on the volume of data and effectively analyses data. Zendesk is a cloud-based help desk management system that provides customizable tools to create online communities, knowledge bases, and customer service portals. The solution provides a front-end portal that can be customized, live chat capabilities, and integration with programs like Salesforce and Google Analytics.

When integrated, moving data from BigQuery to Zendesk could solve some of the biggest data problems for businesses. In this article, two methods to achieve this are discussed:

Method 1: Using CSV Files to Manually Connect BigQuery to Zendesk

This method of connecting BigQuery to Zendesk involves manually converting your BigQuery data into CSV Files using certain SQL commands. The data present in the CSV Files then has to be modified according to the format specified by Zendesk. Afterward, the data can be imported and mapped directly into Zendesk. 

Method 2: Connecting BigQuery to Zendesk using Hevo Activate

Hevo Activate provides a hassle-free, one-stop solution to Connect BigQuery to Zendesk in an effortless manner. Hevo Activate syncs customer /product data in the warehouse to your Business Application. With Hevo Activate you can bring the data to the fingertips of your business teams, where they need it the most – Business Applications. Teams can now make faster, smarter actions by analyzing the user journeys, and creating personalized experiences with Hevo Activate.


Benefits of connecting BigQuery to Zendesk

Operating a high-touch customer support model with current knowledge of user actions is made easier by connecting BigQuery to Zendesk. To enhance user attributes, it also syncs high-quality, modeled data from your warehouse. Data for customers and organizations are always in sync and up-to-date thanks to this integration.

BigQuery to Zendesk ELT Integration

The methods to integrate BigQuery to Zendesk are:

Method 1: Using CSV Files to Manually Connect BigQuery to Zendesk

To connect Bigquery to Zendesk manually, you first connect BigQuery to CSV and then CSV TO Zendesk.

BigQuery to CSV 

You can connect BigQuery to CSV using different methods. They are:

  • Using Cloud Console
  • Using bq Extract Command
  • Using Extract Job via Client Libraries(APIs)
Using Cloud Console

This is the easiest way to Export BigQuery Table to CSV as it does not require any technical knowledge.  Follow the simple steps below to effortlessly Export BigQuery Table to CSV:

  • Step 1: Go to the Google Cloud Console in BigQuery. 
  • Step 2: Navigate to the Explorer panel and select the desired table from your project.
  • Step 3: From the details panel, click on the Export option and select Export to Cloud Storage.
bigquery to zendesk: export table to googlec loud console
Image Source
  • Step 4: An Export table to Google Cloud Storage dialog box will pop on your screen. Select the desired destination bucket, folder, or file for your Table Data to be stored as CSV. 
  • Step 5: From the Drop Menu in Export Format, select CSV. Also, Select None for no Compression or GZIP compression which is supported by CSV.
  • Step 6: Click on the Export button to complete the Export BigQuery Table to CSV process.
Using bq Extract Command

Using the bq command-line tool, you can easily Export Bigquery Table to CSV by following the sample code given below:  

bq --location=location extract 
--destination_format format 
--compression compression_type 
--field_delimiter delimiter 

The above code snippet has the following parameters:

  • Location: The location of your BigQuery data. For example, if you are in the USA, the location is ’US.’
  • Destination Format: The format of the file you need in Google Cloud Storage(GCS).
  • Compression Type: The specific compression type supported by the file format.
  • Delimiter: For CSV, the tab is used to indicate the boundary between columns.
  • Boolean: The default value is true allowing header rows to be printed to the exported data.  
  • Project_ID, Dataset, Table: Details of the table you are exporting your data from.
  • Bucket, Filename.ext: The storage location of your file in GCS and filename with the desired format.

Given below is an example for exporting ‘maindataset.mytable’ in CSV filename onefile.csv with GZIP compression in a GCS bucket named bucket-one.

bq extract 
--compression GZIP 
gs:// bucket-one/onefile.csv
Using Extract Job via Client Libraries (APIs)

It is also possible to Export BigQuery Table to CSV format using various programming environments such as C#, Go, Java, Node.js, PHP, Python, and Ruby. To begin, you need to install the Client Libraries and then start writing queries. For instance, you can use the following sample code in Python to Export BigQuery Table to CSV:

from import bigquery
client = bigquery.Client()
bucket_name = 'bucket-one'
project = "project-one"
dataset_id = "one"
table_id = "onefile"

destination_uri = "gs://{}/{}".format(bucket_name, "onefile.csv")
dataset_ref = bigquery.DatasetReference(project, dataset_id)
table_ref = dataset_ref.table(table_id)

extract_job = client.extract_table(
    # Location must match that of the source table.
)  # API request
extract_job.result()  # Waits for job to complete.

    "Exported {}:{}.{} to {}".format(project, dataset_id, table_id, destination_uri)

CSV to Zendesk

To migrate CSV to Zendesk follow the following steps:

  • Your data must first be organized into the subsequent CSV files:
    • CSV file with tickets;
    • CSV file with ticket comments;
    • CSV file with Knowledge Base
  • Please keep in mind the following specifications as you prepare your files:
    • Each file shouldn’t be larger than 1GB.
    • There must be a heading row in every file.
    • The delimiter should be a comma.
    • Give each attachment a publicly accessible URL so that it can be imported. Use commas to divide multiple attachments before migrating them.
    • If your data spans multiple lines, use double-quote marks (“) in your CSV file. For instance, tags, attachments, and descriptions
    • Heading row content must be written in English. Your planned import of data may be in any language.
    • The first letter in a header must be capitalized.
Prepare the Tickets.csv File

There should be a heading row with the following columns in the file containing the tickets:

  • TicketId: required;
  • Subject: required;
  • Tags: optional;
  • DepartmentName: optional;
  • Description: required;
  • Type: required;
  • Status: required;
  • Priority: required;
  • AgentEmail: required;
  • AgentName: required;
  • ContactEmail: required;
  • ContactName: required;
  • ContactPhone: optional;
  • CompanyName: optional;
  • CreatedTime: required. Use YYYY-MM-DD HH:MM:SS time format;
  • UpdatedTime: required. Use YYYY-MM-DD HH:MM:SS time format;
  • ClosedTime: optional. Use YYYY-MM-DD HH:MM:SS time format;
  • Attachments: optional.
Importing Custom Fields

By including a tag in the column header, you can migrate custom fields. The tags you should use are as follows:

  • _select – dropdown, e.g., product_select;
  • _date – time, e.g., due_date;
  • _integer – number, e.g., TicketInternal_integer.

The _textArea tag can be used to migrate different kinds of custom fields.

Importing Ticket Comments

You must include your ticket comments in a separate file that has the following headers to import them with your tickets:

  • CommentId – optional;
  • TicketId – required;
  • AuthorEmail – required;
  • Public – required (use 0 for private and 1 for public comments);
  • Body – required;
  • CreatedTime – required. Use YYYY-MM-DD HH:MM:SS time format;
  • Attachments – optional. 

If a ticket has multiple comments, group them as follows:

bigquery to zendesk: importing ticket comments
Image Source
Import Files to Zendesk

When your files are prepared, visit the Help Desk Migration website to start the import process.

Follow the steps below:

  • Step 1: Choose the CSV data source and add your files. The following choices are available to you:
bigquery to zendesk: import files to zendesk
Image Source

Use our sample to pass the source step if importing knowledge base articles is not necessary. Simply skip the Knowledge Base objects later when choosing which data to migrate.

  • Step 2: Enter the URL for the Zendesk account for your company after selecting Zendesk as the target platform.
  • Step 3: Map ticket fields and choose which records you want to migrate.
  • Step 4: Start the Free Demo Migration to see if the data migrated successfully and to receive a quote. Review the outcomes of your migration using this guide as a reference.
  • Step 5: Complete your data transfer if you are happy with the results.
  • Step 6: Close the tab and carry on with your day after beginning the migration of all records. Once the import is finished, it is emailed to you.
  • Step 7: However, kindly refrain from merging, editing, or deleting any of the imported data. You might alter data in this way and make irreversible changes. Wait until the migration is finished before working safely with your data.

Method 2: Connecting BigQuery to Zendesk using Hevo Activate

bigquery to zendesk: hevo logo
Image Source

Hevo Activate helps you directly transfer data from BigQuery to Zendesk, various SaaS applications, and a lot more for free, in a completely hassle-free & automated manner. Hevo Activate is fully controlled and automates the process of not only importing data from your preferred source but also enriching the data and putting it into an analysis-ready format without the need for you to write a single line of code. Its fault-tolerant architecture ensures that data is handled securely and consistently, with no data loss.

Hevo Activate handles all of your data preparation requirements, allowing you to focus on essential business operations and get a far more powerful understanding of how to create more leads, keep customers, and push your firm to new heights of profitability. It offers a consistent solution for managing data in real-time and ensuring that you always have analysis-ready data at your preferred destination.


The steps to Connect BigQuery to Zendesk using Hevo Activate:

  • Step 1: To configure your Google BigQuery Data Warehouse, follow these easy steps:
    • Step 1.1: To set Google BigQuery as your source you need to extract details such as your Project ID, Dataset ID, and a GCS bucket. First, go to the Google API Console, and in the top left corner, besides the hamburger menu icon, click the drop-down to view all the projects. Copy the ID of the required project.
bigquery to zendesk: Project ID
Image Source
  • Step 1.2: Go to your BigQuery instance & select the Project ID. Copy the Dataset ID and Data Location. The dataset ID is displayed as project-name:dataset-ID. Copy only the dataset ID. For example, in the image shown below, the dataset ID is test-dataset.
  • Step 1.3: Go to Storage in Google Cloud Platform. In the Storage browser, check for the bucket Name and Location.
  • Step 1.4: Read Enable billing for a project to set up the billing details of your project.
  • Step 1.5: To configure BigQuery Data Warehouse for Activate, Click ACTIVATE in the Asset Palette, and the ACTIVATIONS tab, and click + CREATE ACTIVATION.
bigquery to zendesk: Create Activation
Image Source
  • Step 1.6: In the Select Warehouse page, click + ADD WAREHOUSE. In the Select Warehouse Type page, select Google BigQuery.
bigquery to zendesk: Add Warehouse
Image Source
  • Step 1.7: In the Configure your Google BigQuery Account page,
    • Step 2: Sign in as a user with BigQuery Admin and Storage Admin permissions.
    • Step 3: Click Allow to authorize Hevo to access your data.
  • Step 1.8: In the Configure your Google BigQuery Warehouse page, specify the following details:
bigquery to zendesk: Google BigQuery Warehouse settings
Image Source
  • Step 1.9: Click TEST CONNECTION to test and SAVE DESTINATION or SAVE WAREHOUSE, as applicable, to complete the setup.
  • Step 2: Configure Zendesk as your Target Destination. To set Zendesk as your Target destination, you can follow the simple steps given below:
    • Step 2.1: In the Asset Palette, select Activate.
    • Step 2.2: Choose one of these:
  • Click + CREATE TARGET after selecting the TARGETS tab in the Targets List View.
bigquery to zendesk: targets tab
Image Source
  • Perform the following actions after choosing the ACTIVATIONS tab in the Activations List View:
bigquery to zendesk: activations tab
Image Source
  • Step 2.3: Click + CREATE ACTIVATION.
  • Step 2.4: Choose your activated warehouse from the Select Warehouse page, or click + ADD WAREHOUSE to add a new warehouse. To configure the chosen Warehouse type, read Activate Warehouses.
  • Step 2.5: Click + ADD TARGET on the Choose a Target page.
bigquery to zendesk: select a target
Image Source
  • Step 2.6: Enter the following information on the Configure your Zendesk Target page:
bigquery to zendesk: configure zendesk as target
Image Source
  • Target Name: Give your Target a Unique name.
  • Sub Domain: Zendesk’s subdomain that is used. Take this from the URL of your dashboard. Your sub-domain is hevohelpdesk, for instance, if your dashboard’s URL is
  • Email: The account’s login email address for Zendesk. There must be an administrative account connected to this ID.
  • API Token: The token you created for Zendesk.
  • Step 2.7: Click to test and continue.
  • Step 2.8: The new Target can be seen in the Targets List View. You return to the Select Data to Synchronize page when creating an activation.
bigquery to zendesk: zendeskactivate
Image Source

Take a look at what makes Hevo Activate so special:

  • Real-time Data Send: With its excellent integration with multiple sources, Hevo Activate enables you to transfer data fast and efficiently. This guarantees that bandwidth is used efficiently on both ends.
  • Data Transformation: It gives a straightforward interface for perfecting, changing, and enriching the data you wish to transmit.
  • Secure: Hevo Activate features a fault-tolerant design that ensures data is handled securely and consistently, with no data loss.
  • Massive Connector Availability: Hevo Activate has a huge number of connections that allow you to bring data from various Data Warehouses and load it into Marketing & SaaS apps like Salesforce, HubSpot, Zendesk, Intercom, and others in an integrated and analysis-ready format.
  • Simplicity: Using Hevo Activate is simple, guaranteeing that your data is exported in a matter of seconds.
  • Completely Managed Platform: Hevo Activate is a fully managed platform. You do not need to devote time or effort to maintaining or monitoring the infrastructure required in code execution.
  • Live Assistance: The Hevo Activate team is accessible 24 hours a day, 7 days a week to provide outstanding support to its clients via chat, email, and support calls.


This article explains the simple steps to connect BigQuery to Zendesk. It also gives an overview of Bigquery and Zendesk.

visit our website to explore hevo

Hevo Activate, a Reverse ETL Platform provides you with a consistent and reliable solution to manage data transfer between a variety of sources and a wide variety of Desired Destinations, with a few clicks. Hevo Activate with its strong integration with other sources allows you to not only export data from your desired data sources & load it to the destination of your choice.

Want to take Hevo for a spin? 

Sign Up for a 14-day free trial and experience the feature-rich Hevo suite first hand. You can also have a look at the unbeatable pricing that will help you choose the right plan for your business needs.

Harshitha Balasankula
Former Marketing Content Analyst, Hevo Data

Harshita is a data analysis enthusiast with a keen interest for data, software architecture, and writing technical content. Her passion towards contributing to the field drives her in creating in-depth articles on diverse topics related to the data industry.

Sync Data from Google BigQuery to Business Applications Seamlessly