Great question!
I would check out this community post here and here that might help you with your idea.
Please keep me posted if the resources helped you.
Take care!