Assistant for Hubspot chat using OpenAi and Airtable
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Airtable and OpenAI. It also calls api.openai.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- If: checks a condition and branches into true / false
- getHubspotMessage (HTTP Request): calls an HTTP API
- If: checks a condition and branches into true / false
- Airtable: search
- If: checks a condition and branches into true / false
- OpenAi Create Thread (HTTP Request): calls api.openai.com (POST)
- OpenAI: work with assistant
- createThread (Airtable): create
- OpenAI Run (HTTP Request): calls an HTTP API (POST)
- OpenAI Run (HTTP Request): calls an HTTP API (POST)
…plus 15 more steps. See the full node list below.
Services it uses
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Airtable
n8n-nodes-base.airtable - OpenAI
@n8n/n8n-nodes-langchain.openAi - Webhook
n8n-nodes-base.webhook
From the author
This workflow will allow you to use OpenAI Assistant API together with a chatting platform. This version is configured to work with Hubspot, however, the Hubspot modules can be replaced by other platform and it will work similarly. Prerequisites: - Create a…