We prepared everything beforehand.
Do you have any food allergies? Let me know beforehand.
I am not sure how this would be perceived here, so I wanted to ask beforehand.