n8n workflow template · 26 nodes · Airtable
OpenAI Assistant for Hubspot Chat is a free n8n workflow template that starts when its webhook receives an HTTP request and works with Airtable and OpenAI. It has 26 nodes, 1 of them AI nodes (OpenAI). The notes inside the workflow say: “Watch for new message on the chatbot. This can be triggered with n8n chat widget, hubspot or other chat services.” To run it, you add your own credentials for Airtable API, HubSpot OAuth2, Hubspot App Token, Hubspot Developer API and OpenAI API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Watch for new message on the chatbot. This can be triggered with n8n chat widget, hubspot or other chat services.
UPDATE USER FILTER FOR DUPLICATION
Search for Thread ID in a database.
This database is maintaing references between messaging service thread id and OpenI Thread ID.
POST a new message to existing thread.
Get Run Status: If still in progress, run again. If action needed go to respective action. If Completed, post message.
Post assistant Message back to chat service, in this case Hubspot
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Create a new Thread, save it to database and RUN
Run required actions based on Assistant answer and respond to Assistant with the function answer.
Each route is a function that you need to define inside your assistant configuration.
The 26 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us