Within Engagement Cloud, most of the extensions can be accomplished without programming. But sometimes, a bit of groovy code allows for just that little extra. I am not the best programmer AT ALL, but I did find a blog that helped me in the past and might help you also.
You definitely need to check out the tutorials and examples that my colleague Radu put together on his blog
Thank you Radu !