Hello you can use Variable Pipe, see an example here
or you can do your own plugin to better suit what you need.