Open webui and the openai node

I setup open webui today and wanted to connect N8N to it. I can connect to it using curl so all the parts are in place. I read the api for open webui is using the openai standard, so tried using the openai node and just set the credentials to point at open webUI. but it failed every time, if I use http request and manually set the URL, header, body it works. Are the openai node and open webui api not compatible?
Thanks!

Hello @jbenway welcome!

AFAIK, there is an “N8N Pipeline Function” in the OpenWebUI functions. If you’re using one of them it should work, I tried it once in the past..

However, note that the latest OpenAI nodes come with “Use Responses API” enabled by default, and I suspect the pipeline functions aren’t yet coded for this new endpoint..

So try turning this option off and test again.

@jbenway You can use my bridge to connect both: GitHub - sveneisenschmidt/n8n-openai-bridge: OpenAI-compatible API middleware for n8n workflows. Use your n8n agents and workflows as OpenAI models in any OpenAI-compatible client.