Manage Stock - Linking gravity form and variable product stock


I have 100 variable products which customers can purchase individually, I then have a gravity form created where a customer can design a gift box and it includes all my variable products. So when a customer designs a gift box and adds a product and a second customer buys a product on its own how can I get the gravity form products to reduce my variable product stock amount?