Bring a large pot of salted water to the boil. Add in the pasta. Meanwhile, trim and chop the green beans into 2cm pieces. 5 minutes before the pasta is cooked, add in the green beans. Drain and rinse with cold water.
Add the yoghurt and pesto to a large mixing bowl. Mix until combined.
Halve the cherry tomatoes and roughly chop the spinach.
Add the tomatoes, spinach, pasta, green beans, and butter beans to the bowl with the pesto sauce. Mix well and season to taste with salt, pepper, and chilli flakes.