I think I’m on the right track thanks to this post:
I’ll keep you posted and share some code once I have something working