AI Agents

Process Customer Inquiries with OpenAI Assistant and Store Responses in Airtable

34 nodes 298 155 Webhook
Download

Workflow Description

This workflow receives customer inquiries via webhook from HubSpot, processes them using OpenAI's intelligent assistant, and automatically stores both the inquiry and response in Airtable for tracking and analysis. Enables efficient customer support automation with full audit trail.

How it works

  1. 1.Receive customer inquiry through webhook from HubSpot
  2. 2.Send inquiry to OpenAI Assistant for intelligent processing and response generation
  3. 3.Validate response and store inquiry-response pair in Airtable with metadata

Use cases

  • Automate responses to frequently asked customer questions without manual intervention
  • Create searchable records of all customer interactions for compliance and analysis
  • Reduce response time for routine inquiries while maintaining human oversight capability

Requirements

  • Active OpenAI account with valid API key configured
  • Airtable base with table schema for storing inquiries, responses, and metadata
  • HubSpot webhooks enabled to trigger workflow on incoming customer messages

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Airtable OpenAI

Details

Trigger Webhook
Nodes 34
Apps 2
Views 298
Downloads 155

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (34)

/

getHubspotMessage

HTTP Request

#1

OpenAi Create Thread

HTTP Request

#2

OpenAI Run

HTTP Request

#3

Get Run

HTTP Request

#4

Get Last Message

HTTP Request

#5

HTTP Request

HTTP Request

#6

Completed, Action or Inprogress

Switch

#7

Wait

Wait

#8

Wait1

Wait

#9

Submit Data

HTTP Request

#10

Select Function

Switch

#11

Code1

Code

#12

Wait2

Wait

#13

HTTP Request1

HTTP Request

#14

Code

Code

#15

Submit Data1

HTTP Request

#16

Wait3

Wait

#17

respondHubspotMessage1

HTTP Request

#18

IF

If

#19

Airtable

Airtable

#20

IF1

If

#21

createThread

Airtable

#22

OpenAI Run1

HTTP Request

#23

IF2

If

#24

Sticky Note1

Sticky Note

#25

Sticky Note

Sticky Note

#26

Sticky Note2

Sticky Note

#27

Sticky Note3

Sticky Note

#28

Sticky Note6

Sticky Note

#29

Sticky Note7

Sticky Note

#30

Sticky Note8

Sticky Note

#31

Sticky Note9

Sticky Note

#32

OpenAI

OpenAI

#33

Webhook

Webhook

#34