Hi @Philippe, if you don’t want to go down the Switch node route suggested by @Dtneo, you could use code as well but it shouldn’t be necessary.
Here’s how it would look like using the switch approach from your workflow:
What I’ve done here was switching to the “Run Once for Each Item” mode, then replacing the item keyword from your example with $input.item.json as suggested in the example code used by the new Code node: