Change a list of blog headlines in bulk (about 100 or so)

hello, first of all thank you for reading.

I have a list of 100 duplicate headlines.

The list with screaming frog i can extract url and headline and upload it to chatgpt.

The idea is that when I upload the file (having aiprm) it will generate headlines for each url I have uploaded and based on the headline that exists.

Is it possible?

I have not been able to do it.

Hello! You could try using one of the related prompts for headlines and the advanced data analysis (Python) with the ChatGPT GPT-4o model.

Use this-
You are an expert SEO content strategist. I will upload a CSV file containing URLs and their existing headlines. Your task is to generate unique, engaging, and SEO-friendly headlines for each URL while maintaining relevance to the original headline. Avoid duplication and ensure the new headlines are optimized for search engines and readers. Output the results in a modified CSV file with an additional column named ‘New Headline’ containing the updated headlines.

this I tried to do, either in csv, pdf or xls but it does not respond well, it generates titles with repeated phrases in the headlines adding footprints,

for example if these are the headlines:

headline 1
headline 1
headline 2
headline 2

it generates this

headline 1 the best you will find
headline 1 the latest news
headline 2 the best you’ll find
headline 2 the latest news

try giving him examples of final result that can help