Transfering data from GoogleDocs to GoogleSheets

Hello

before I get into overly complex thoughts again, I wanted to ask first. Sometimes the step seems simple. I’ve looked around several times for info but haven’t found anything specific.

I have a Google Doc document with several separate sentences.
I have also a Google Sheet. (See screenshots)

I want to extract each sentence individually from the document so that I can save the data in the googlesheet.

The first sentence in the Google Doc should be entered in P1. The second sentence in P2 and so on …
When P1 is entered, a prompt and an image should be generated.

How do I get the first record in P1?
If there is a simple or more efficient way, I am open to everything

Thank you