See Dynamic inject node options...?
Towards the bottom of that topic, I posted an example flow which may help.