Tomato Plants in Grow Bags Wilting

I planted several tomato seedlings in large grow bags. Recently had to go away for 4 days. Watered well just before I left. The weather while I was away was very hot. Upon returning my plants had wilted quite a…