Copy the number from the link
Open the map's Steam Workshop page. In a URL like steamcommunity.com/sharedfiles/filedetails/?id=…, copy the digits after id= up to the next parameter. If you only have a number, put it into that same address and open the page.
Verify that the map supports CS2
Check the title, author, description and last update date. Look for explicit CS2 support, since older CS:GO items can appear in the Workshop. If the link opens a collection, open the individual map inside it and take the ID from that page.
Launch the practice map
Subscribe to the map, wait for Steam to download it and open the Workshop Maps section in CS2. If it does not appear, check that the download finished and the item page is still available. Share the full link with a teammate so they can verify the author and version.