How can I get 'follow-up' suggestion prompts (like OpenWebUI)?

Hi, I’ve only just started working with n8n and AI/LLM. In a short time, I have managed to build a working RAG system and can successfully query the documents in my vector store.
What I’d now like to do is get the system to provide suggested ‘follow-ups’. OpenWebUI does this ‘out of the box’ (see image).

Describe the problem/error/question

So, how can I take the user’s initial input (via chat or webook) and process this to generate ‘Follow-up’ suggestions and append these to the response?

What is the error message (if any)? n/a

Please share your workflow

n/a

Share the output returned by the last node

n/a

Information on your n8n setup

  • n8n version: 1.105.4
  • Database (default: SQLite): SQLite for n8n, Supabase for the workflow
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Debian 12 (Linux)
1 Like

Hey @gmakstutis ,

if i understood correctly, do you want to connect Open WebUI interface with one of your AI agent created inside n8n ?

Please confirm , if yes…Than i have a good news for you it is totally doable and i have setup all of these things yesterday only…

That take care of all the things, follow up message, title generation etc etc

Hi,

i can already connect OpenWebUI. What I want is to get n8n to generate follow-up queries, based on the use question and append these to the chat response.

Hey @gmakstutis ,

That’s great, most of the part you have already done…please see this tutorial here I have explained how we can connect openweb ui with n8n agent that stream response in real time inside openweb ui

Plus, it also take care of the Followup question and other stuff…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.