Sync Freshdesk tickets summary to BigQuery

Recipe ToolsMarketingWorkatoCustomer ServiceDocument/FileUtilitiesData ParserDirectory ServicesCloud PlatformNLUArtificial Intelligence

What it does

When a scheduled time arrives, this automation exports tickets from Freshdesk, transforms the data, and loads it into BigQuery. Someone can then query the tickets table to analyze support metrics and trends.

Who it's for

Customer support teams who need Freshdesk ticket data in BigQuery for reporting and analysis.

How teams use this

Analyze support ticket trends daily

Load Freshdesk tickets into BigQuery every day so the team can run queries on resolution times, ticket volume, and agent performance without manual exports.

Build dashboards from ticket data

Use the BigQuery table as a data source for dashboards that track SLA compliance, ticket age, and support metrics in real time.

Filter tickets by priority or status

Add a condition to the export step to only load high-priority or open tickets into BigQuery, reducing data volume and focusing on urgent issues.

Sync multiple Freshdesk accounts

Set up separate BigQuery tables for each Freshdesk account and run this automation for each one to consolidate support data across regions.

How it works

  1. Run on a daily schedule. This automation starts every day at 1 PM to keep the BigQuery table current with the latest Freshdesk tickets.
  2. Export tickets from Freshdesk. Retrieve all tickets from Freshdesk with their details, status, and resolution times so the data can be transformed and loaded.
  3. Parse and transform the data. Convert the exported file to CSV format, standardize dates to 24-hour format, and calculate resolution time in hours for consistency.
  4. Upload to Cloud Storage. Stream the transformed CSV file to Google Cloud Storage as a staging location before loading into BigQuery.
  5. Load data into BigQuery. Import the CSV from Cloud Storage into the BigQuery table with the correct schema so the tickets are queryable and ready for analysis.