Many ways to do it. Get ChatGPT 3.5 Turbo API and install that API in google sheets using the Add-on GPT for sheets or you can simply use
https://sheetgpt.ai.
Put all the data about the prospect and tell GPT to write a personalised ice-breaker. You can use phantombuster to scrape prospect data but it will use your session cookies so you can't do it on the scale or else your Linkedin account will get blocked.
If you want to do it on a scale, you can use Iscrape API which scrapes Linkedin Profiles for you without session cookies.
With API installed and ready data, you have to give it such prompts and it will give you a ice-breaker-
=CHATGPT("Craft a personalised one-line ice-breaker about the person from the data and content on his LinkedIn. This is for a cold email first line. The ice-breaker can be something about appreciating his/her experience or something that they are doing which is unique. Do not pitch or ask for anything. Just a simple personalised compliment would work. Keep the tone excited. Keep it short without any call-to-action. Keep it around 15-20 words. If can't find anything write a generic compliment about something on their profile. :" &A1:A17)