AI Agents

Smart OpenAI Assistant for HubSpot Contact Management

34 nodes 293 161 Webhook
Download

Workflow Description

Intelligent automation that receives requests via webhook and routes them to an OpenAI Assistant for processing, retrieving contact data from Airtable to provide informed responses. Automates customer inquiries, database lookups, and relationship management at scale.

How it works

  1. 1.Receive incoming request through webhook and validate payload data
  2. 2.Route request to OpenAI Assistant for analysis and action identification
  3. 3.Query and retrieve relevant contact records and history from Airtable
  4. 4.Evaluate conditional logic to determine appropriate response or action path
  5. 5.Send intelligent response back to HubSpot or update records as needed

Use cases

  • Instant customer inquiry responses based on account history and context
  • Automate repetitive support tasks like information retrieval and record updates
  • Analyze complex requests and suggest next steps for sales or support teams

Requirements

  • Valid OpenAI API key with a pre-configured Assistant instance
  • Airtable database containing customer contacts and related business records
  • Authenticated connection between HubSpot and n8n with read/write permissions

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 293
Downloads 161

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