Turn your pins into magnets with this handy adapter.
This adapter has a narrow hole that the pin insets into on one side and a recess to glue in a small magnet on the other.
The tolerances should be good for most pins but the Fusion 360 file is attached incase anyone needs to edit the model to adjust tolerances or for a different magnet size.
The model is designed to take a 6mm x 3mm magnet. Simply glue it into the recess.
I used these: https://www.amazon.com/dp/B096LZNZTQ?psc=1&ref=ppx_yo2ov_dt_b_product_details