How to Connect Bubble App with n8n AI Agent ( Realtime Streaming) | Complete Tutorial

Hello everyone!

I’ve created a tutorial video showing how to connect n8n AI agents with Bubble.

This integration takes advantage of the latest updates from both platforms, allowing you to build AI chatbots in Bubble that stream responses word-by-word in real-time - just like ChatGPT’s interface.

The video covers:

  • Setting up n8n AI agents with streaming enabled

  • Configuring Bubble’s API Connector for stream data types

  • Both webhook and chat trigger implementation methods (n8n)

  • Complete setup with live demonstrations

Perfect for anyone looking to create interactive AI experiences in their Bubble apps!

5 Likes

Great job! Thank you.

1 Like

why don’t you just connect it to chat gpt api?!

n8n has a sophisticated backend which makes it more suitable for custom integrations.

2 Likes

nice video. can you tell me how to:

  1. Get rich text response from LLM. Your first demo had Bold headers.

2. Pass chat history (bubble data) to the LLM

Excellent work @sudhanshusharma934

For those looking for an automated and robust solution (tested against a CRM), you might want to try out OpenAI - GPT Streaming with RAG Plugin | Bubble for RAG use-cases.

1 Like

@brad.h

You can just prompt the AI to return you rich text response.

For chat history this is how I’ve set it up. Just send all the messages corresponding to the chat.

Hope it helps.

1 Like

thansk!