Flight info from calendar to text

I want to automate sending a text to my family with flight information by creating a shortcut that pulls it from my calendar. I tried using chat GPT and it’s so hard. It can’t guide me correctly. How can I build this?