Dynamic routing or templating without webflow cms collection

Hey I’m trying to create a web application for my client where he wants to use a template for product but I saw that it is only working when i use webflow’s cms collection and not when i’m fetching data from external api. Any workaround ?
What i would like to do is whenever a user clicks on a url or link with href
such as www.example.com/products/:productId i want a specific product page to be loaded with a product having that product id