Automating Gong Insights with n8n

Daily quote extraction from sales calls using AI.

Automationn8nGongAIChatGPTSlackWorkflow

n8n workflow

The Challenge

CloudQuery receives substantial inbound calls and maintains regular customer contact. While social proof serves as a powerful marketing tool, extracting quality customer quotes from call recordings demanded considerable time investment, particularly given call volume.

The Solution: n8n

I leverage n8n, a GUI-based workflow automation platform. With their native support for Gong, Slack, ChatGPT, and custom functions, n8n provides an ideal solution for this automation challenge.

How It Works

The workflow operates through three primary stages:

1. Daily Gong Scrape

Establishes a date parameter for the previous day, queries Gong's API for calls, filters out outbound calls, and retrieves transcripts and participant information.

2. AI Processing

A custom function organizes data into structured prompts, which are sent to ChatGPT for analysis. The prompt instructs the AI to extract the most impactful customer quote suitable for marketing purposes.

Prompt

3. Slack Integration

The initial workflow trigger posts a message to an internal Slack channel, with extracted quotes appearing as threaded replies.

Slack message

The n8n Workflow

The complete workflow configuration includes:

  • Daily trigger at 8 AM
  • Date calculation (previous day)
  • Gong API call retrieval
  • Outbound call filtering
  • Transcript and participant data extraction
  • Prompt construction from participants and transcript data
  • GPT analysis for quote identification
  • Empty quote filtering
  • Slack thread reply posting

What's Next

Potential future enhancements include:

  • Automated outbound call follow-ups
  • Integration of quote library with AI agent tools for sales teams
  • Automated case study pipeline development