Boiling the gnocchi before air frying is not required at all in this air fryer recipe. You can directly put the gnocchi into the air fryer and get it cooked. Even in the case of pan frying you can toss it on the heat even without boiling and it will be perfectly cooked.  Some people do like to boil it for extra tenderness but they will turn soggy.