Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Chatbots & Messaging Bots

Chatbots & Messaging Bots

Answer HubSpot Chat Messages with an OpenAI Assistant

When a HubSpot chat message reaches the webhook, an OpenAI Assistant runs actions such as Airtable lookups and sends the answer back into HubSpot.

What it does

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 steps

  1. getHubspotMessage
  2. OpenAi Create Thread
  3. OpenAI Run
  4. Get Run
  5. Get Last Message
  6. HTTP Request
  7. Completed, Action or Inprogress
  8. Wait
  9. Wait1
  10. Submit Data
  11. Select Function
  12. Code1
  13. Wait2
  14. HTTP Request1

26 steps in total.

Similar automations