What do you mean by "merge the data from the file"? Merge it into what, exactly?
"Merge Data Files into Excel Spreadsheet" is under Prepare Form in the tools menu and is what we use to get the data from a fillable form into excel for tracking.
I would like to execute a script that when the form is signed will execute the Merge Data Files into Excel Spreadsheet and save to a file name created using the file name for the pdf.
It's not possible to run this command via a script, and saving a file under a specific name requires privileged context, such as a folder-level script.