I have a list of credentials that each can access to a different database using the Odoo node. I’m using an expression to select them in the credentials section of the node.
These are the values passed in an expression for the credentials
The expression works, but even if there are
Xitems in the list, the node only uses the first.
The result of the workflow execution. In my list, I had 2 items, but the node only used the first item.
I can’t manage to loop over those credentials. I tried using an HTTP request, but it just sends the first item of the list when passing them as an expression in credentials.
Please do not hesitate to ask for more details/screenshots if my request isn’t clear enough.
- I found this topic from a year ago. The new feature allowing for the use of an expression in the credentials section is exactly what the OP was asking for, and they do have similar needs to me. The issue is that regardless the number of items in the list, it will only use the first.
- “The Variable Selector displays only the first item, but internally n8n will process all the items.” In the case of expressions for credentials, it doesn’t.