AI Agents

OpenAI Assistant for HubSpot

34 nodes 201 125 Webhook
Download

Workflow Description

An automation template that integrates OpenAI Assistant with HubSpot to generate intelligent responses automatically. It receives requests via webhook, processes them through OpenAI, and logs results in Airtable for tracking and review.

How it works

  1. 1.Receive incoming requests from HubSpot via webhook trigger
  2. 2.Process data using conditional logic and custom code functions
  3. 3.Send query to OpenAI Assistant to generate intelligent response
  4. 4.Store result and metadata in Airtable database table
  5. 5.Return response to customer via HubSpot or external API

Use cases

  • Auto-reply to customer inquiries with contextual and intelligent responses
  • Generate summaries and recommendations from stored customer data
  • Automate customer service tasks while maintaining complete audit trail

Requirements

  • Active OpenAI account with valid API key
  • HubSpot account with webhook configuration access
  • Airtable base for storing inquiries and responses
  • Basic understanding of webhook setup in HubSpot

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 201
Downloads 125

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