feat: n8n pipeline doesn't work as intended #5655

Closed
opened 2025-11-11 16:27:36 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @platnub on GitHub (Jun 27, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I am unable to connect n8n as a backend to my OpenWebUI in a reliable and well working way. The only way I can find is by using a pipeline/function which are community made. There is official and easy way of doing this that allows for proper customization.

I am running both OpenWebUI and n8n in a Self Hosten environment. I am using Cole's pipeline. I connect my webhook and this is the result I get from chatInput:

There is so much extra and honestly unnessesary information here for the purpose I am using it for. I want use n8n as the backend and have OpenWebUI act as a chat interface between the user and the workflow. I don't need OpenWebUI to manage my AI agent, that's the job of the backend.

I have looked everywhere online and as far as I can tell no one else is talking about this, I can't find any way to modify these parameters, and I can't reliably get information from the chat into n8n.

What I find odd is that n8n is the number one sponsor of this project, it is advertised as a backend solution for OpenWebUI, but there is no officially supported method of actually achieving this. You have to rely on community members to make a good solution and maintain it.

Image

Desired Solution you'd like

I need an easy integration with n8n. A way to send data either through a webhook, open communication standard, or an collaboration with n8n to create a proper integration with each other, like how there already are hundreds of integrations for other services.

Alternatives Considered

I've used any method I can find; which is just every pipeline option in the community section on the official OpenWebUI website.

Additional Context

Option to configure this integration would make it very useful. Options for including these parameters if you'd like, being able to receive a chat ID, reading the chat title, detect when a chat gets deleted, remove chat history and only send the newest message.

Originally created by @platnub on GitHub (Jun 27, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I am unable to connect n8n as a backend to my OpenWebUI in a reliable and well working way. The only way I can find is by using a pipeline/function which are community made. There is official and easy way of doing this that allows for proper customization. I am running both OpenWebUI and n8n in a Self Hosten environment. I am using [Cole's pipeline](https://openwebui.com/f/coleam/n8n_pipe). I connect my webhook and this is the result I get from chatInput: > ### Task:\nSuggest 3-5 relevant follow-up questions or prompts that the user might naturally ask next in this conversation as a **user**, based on the chat history, to help continue or deepen the discussion.\n### Guidelines:\n- Write all follow-up questions from the user’s point of view, directed to the assistant.\n- Make questions concise, clear, and directly related to the discussed topic(s).\n- Only suggest follow-ups that make sense given the chat content and do not repeat what was already covered.\n- If the conversation is very short or not specific, suggest more general (but relevant) follow-ups the user might ask.\n- Use the conversation's primary language; default to English if multilingual.\n- Response must be a JSON array of strings, no extra text or formatting.\n### Output:\nJSON format: { "follow_ups": ["Question 1?", "Question 2?", "Question 3?"] }\n### Chat History:\n<chat_history>\nUSER: Test\nASSISTANT: \nUSER: I am creating an AI agent that is a recipe designer. I want it to focus on vegetarian recipe’s\nASSISTANT: \n</chat_history> There is so much extra and honestly unnessesary information here for the purpose I am using it for. I want use n8n as the backend and have OpenWebUI act as a chat interface between the user and the workflow. I don't need OpenWebUI to manage my AI agent, that's the job of the backend. I have looked everywhere online and as far as I can tell no one else is talking about this, I can't find any way to modify these parameters, and I can't reliably get information from the chat into n8n. What I find odd is that n8n is the number one sponsor of this project, it is advertised as a backend solution for OpenWebUI, but there is no officially supported method of actually achieving this. You have to rely on community members to make a good solution and maintain it. ![Image](https://github.com/user-attachments/assets/3d6e4a42-8bb6-45d0-83b4-84b54b0ba949) ### Desired Solution you'd like I need an easy integration with n8n. A way to send data either through a webhook, open communication standard, or an collaboration with n8n to create a proper integration with each other, like how there already are hundreds of integrations for other services. ### Alternatives Considered I've used any method I can find; which is just every pipeline option in the community section on the official OpenWebUI website. ### Additional Context Option to configure this integration would make it very useful. Options for including these parameters if you'd like, being able to receive a chat ID, reading the chat title, detect when a chat gets deleted, remove chat history and only send the newest message.
Author
Owner

@tjbck commented on GitHub (Jun 27, 2025):

Custom Functions are outside of the scope of the project. Please reach out to the author.

@tjbck commented on GitHub (Jun 27, 2025): Custom Functions are outside of the scope of the project. Please reach out to the author.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5655