Set Credentials programmatically

Hi @ThinkBot, thanks for your response.

I’m making the HTTP request using a Generic Credential Type with Query Auth, setting up the API key credentials for each agency.

While searching the community for a similar case, I found this thread: Select credentials via expression, which addresses exactly the same issue.

In that thread, they mention this workflow: Set credentials dynamically using expressions | n8n workflow template, which could be an option, although it carries the risk of exposing credentials publicly.

Thanks!