End-user OpenAI credentials

Hey,

Describe the problem/error/question

I build a Google Sheet for companies which will make it theirs on their Google Drive.
It has an App Script which should calls OpenAI;

I would like that it be through n8n if the Company can use their own OpenAI Credentials.

What is the problem?

  • It does not appear possible to insert OpenAI Api Key on the fly in the related node. Probably for security matters.
  • Is there another ‘clean’ solution?
    nb: I noticed the same request some months ago with an answer by @jan but it is closed and we cannot interact with it anymore.

Thanks in advance.

Information on your n8n setup

  • n8n version: Last
  • Database (default: SQLite): Postgre
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker or npm, don’t remember
  • **Operating system:**Windows