Read data from excel & update on PSD file via photoshop script option using javascript

Here is the excel sheet format
here is the PSD File Format two texts marked are in two different text layers
here is the PSD File Format two texts marked are in two different text layers

i want to update 2 text layer on my psd file and save as a jpg after collecting the data from a spreadsheet via photoshop scripting using a javascript code.

i want a alert a everytime before it saves a jpg having 2 options ‘edit’ and ‘yes’ and Question of the alert will be Confirm Save as a jpg.

data on the spreadsheet is like this :
Column 1
J5L0001
J5L0002
J5L0003
J5L0004
J5L0005

Column 2
GAUTAMI
DEVAHARINI
KANNAN V
THARUN
SAHASRA
LIYAAN
T.DEVARAJAN
V.ARUNACHALAM

now i want 2 to take a certain row and Update the text layers save as jpg in designated folder

like J5L0002 & DEVAHARINI
here you can see J5L0002 & DEVAHARINI are both on the same row which Row 3 taking Column 1 and Column 2 as a header row

1 jpg should saved in a designated folder by updating these 2 layers J5L0002 & DEVAHARINI after alert.

Please give the edit part of from it will start the automation for ex. i want to start from Row 3 and in the next time i want to start from row 10.

Also give layer mapping code as well as there are several other columns in the spreadsheet which are named differently.

Automation must run Continuously every time i click yes on the Alert and automation should stop if i select edit on the alert. And for the next time i want to start the automation from a different Row thats why i want the portion of selection selecting ROW from where i can start the Automation.

for Renaming the JPG’s give me the code from which column i want i my data to be taken and saving as jpg