Skip to main content

Qualify Calendly leads in Airtable with OpenAI GPT-based categorization

Workflow preview

Workflow preview
100%
Qualify Calendly leads in Airtable with OpenAI GPT-based categorization preview
Open on n8n.io

1. Workflow Overview

Calendly Lead Qualification & AI Powered Categorization What it's for: This automation streamlines your sales qualification process by automatically capturing Calendly bookings, filtering qualified...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.airtable, n8n-nodes-base.if, n8n-nodes-base.noop, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, n8n-nodes-base.webhook, n8n-nodes-base.stickynote, n8n-nodes-base.aggregate

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Keith Uy.

Original n8n.io source

1.1 Workflow description

Title
Qualify Calendly leads in Airtable with OpenAI GPT-based categorization
Workflow name
Qualify Calendly leads in Airtable with OpenAI GPT-based categorization

Calendly Lead Qualification & AI-Powered Categorization

What it's for:

This automation streamlines your sales qualification process by automatically capturing Calendly bookings, filtering qualified leads, and using AI to intelligently categorize the reasons prospects book discovery calls. Perfect for agencies, consultancies, or any business using Calendly for sales meetings who want to automatically organize and track lead intent in Airtable.

Key Features:

  • Automatically captures Calendly booking and cancellation events
  • Filters leads based on qualification criteria (e.g., minimum revenue requirements)
  • Uses OpenAI GPT to intelligently categorize booking reasons
  • Syncs all data to Airtable for CRM management
  • Handles both new bookings and cancellations

How it works:

Input: Calendly webhook triggers when someone books or cancels a meeting

n8n Processing Flow:

  1. Qualification Check - Validates if the lead meets your criteria (e.g., "$30k+ monthly sales")
  2. Event Type Routing - Determines if it's a new booking or cancellation
  3. New Booking Path:
  • Creates record in Airtable with contact details, meeting time, and booking reason
  • Fetches available categories from Airtable
  • AI analyzes the "reason for booking" and assigns appropriate category
  • Updates Airtable record with AI-selected category
  1. Cancellation Path:
  • Searches for existing record in Airtable
  • Deletes the cancelled meeting record

AI Processing: OpenAI GPT-5 analyzes the prospect's stated reason for booking and matches it to predefined categories (e.g., "Uncertainty / Strategy Gap", "Scaling Issues", etc.)

Output: Organized, categorized lead data in Airtable ready for sales follow-up

How to use:

1. Set up Airtable Base

  • Create an Airtable base with two tables:

Table 1: "Calendly Information" with fields:

  • Name (text)
  • First Name (text)
  • Last Name (text)
  • Email (text)
  • Phone (text)
  • Event Name (text)
  • Brand (text)
  • Meeting Date (date/time)
  • Why they booked (text)
  • Categories (linked to Categories table)

Table 2: "Categories" with fields:

  • Name (text) - Your category names (e.g., "Uncertainty / Strategy Gap", "Performance Issues", etc.)
  • id (auto-generated record ID)
  • Populate the Categories table with your desired lead categories

2. Create Airtable API Credentials in n8n

  • Go to Airtable → Account → Developer Hub
  • Create a new personal access token with scopes: data.records:read and data.records:write
  • In n8n, create new Airtable credentials and paste your token
  • Test the connection

3. Configure Calendly Webhook

  • Log into your Calendly account
  • Go to Integrations → API & Webhooks
  • Click "Create Webhook"
  • Copy the webhook URL from the "Calendly Webhook" node in n8n (click the node and copy the "Webhook URL" shown)
  • Paste it into Calendly's webhook URL field
  • Subscribe to these events:
  • invitee.created
  • invitee.canceled
  • Save the webhook

4. Set up OpenAI Credentials

  • Create an OpenAI account at https://platform.openai.com/
  • Go to API Keys section and create a new API key
  • In n8n, create new OpenAI credentials and paste your API key
  • Ensure you have credits in your OpenAI account

5. Configure Workflow Nodes

Update Airtable Node Connections:

  • Open each Airtable node ("Get Categories", "Create a Calendly Meeting", "Update Category", "Search records", "Delete a record")
  • Select your Airtable credentials
  • Update the Base ID and Table ID to match your Airtable base
  • Save each node

Customize Qualification Logic:

  • Open the "Qualified?" IF node
  • Adjust the qualification criteria to match your Calendly question structure
  • Current example checks: questions_and_answers[2].answer equals "Yes"
  • Modify the array index [2] to match your qualification question's position

Customize AI Category Prompt:

  • Open the "Category Assigner" (OpenAI) node
  • Update the system prompt to reflect your business type and categories
  • Modify the example in the messages array to match your typical booking reasons

Update Field Mappings:

  • Open "Create a Calendly Meeting" node
  • Adjust field mappings to match your Calendly form questions:
  • Phone: questions_and_answers[0].answer
  • Brand: questions_and_answers[1].answer
  • Qualification: questions_and_answers[2].answer
  • Why they booked: questions_and_answers[3].answer
  • Modify array indices [0], [1], etc. to match your form structure

6. Test the Workflow

  • Activate the workflow in n8n
  • Book a test meeting in your Calendly
  • Answer all questions including your qualification criteria
  • Check that:
  • Record appears in Airtable
  • AI assigns the correct category
  • All fields are populated correctly
  • Test a cancellation to ensure records are deleted properly

Requirements:

  • Calendly account (any paid plan that supports webhooks)
  • Airtable account (Free tier works)
  • OpenAI API account with credits (GPT-5 access recommended)
  • n8n instance (Cloud or self-hosted)

Customizing this workflow:

Adjust Qualification Criteria:

  • Modify the "Qualified?" IF node to match your specific lead qualification requirements
  • Add multiple conditions (revenue, location, industry, etc.)

Add More Categories:

  • Simply add new rows to your Airtable Categories table
  • The AI will automatically consider them when categorizing

Improve AI Accuracy:

  • Add more examples in the "Category Assigner" node's prompt
  • Include edge cases specific to your business
  • Use few-shot learning by adding 2-3 example classifications

Enhance Data Capture:

  • Add more fields to the Airtable base (UTM parameters, referral source, etc.)
  • Map additional Calendly questions to Airtable fields
  • Add tracking fields like "Date Created", "Last Updated"

Notifications:

  • Add Slack/Email nodes after "Update Category" to notify your sales team
  • Include the assigned category in the notification
  • Filter notifications to only high-priority categories

Multi-Language Support:

  • Update the AI prompt to handle multiple languages
  • Add language detection logic before categorization

Advanced Routing:

  • Add additional IF nodes to route different event types to different workflows
  • Create separate processes for VIP leads, different product lines, etc.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get Categories

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 2 - Update Category

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 3 - Qualified?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Event Created or Cancelled?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - Delete a record

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 6 - Record Exist?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 7 - No Operation, do nothing

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 8 - No Operation, do nothing1

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 9 - Category Assigner

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Set Category structure

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Create a Calendly Meeting

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 12 - Calendly Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 13 - Search records

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 14 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note - Intake and Routing

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note - Handle Cancellations

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note - Create and Categorize Lead

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Aggregate Categories

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

3. Summary Table

Workflow Qualify Calendly leads in Airtable with OpenAI GPT-based categorization
Complexity advanced
Nodes 18
Categories Lead Generation, AI Summarization
Author Keith Uy
Published 21 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11093/11093.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Qualify Calendly leads in Airtable with OpenAI GPT-based categorization do?

Calendly Lead Qualification & AI Powered Categorization What it's for: This automation streamlines your sales qualification process by automatically capturing Calendly bookings, filtering qualified...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.