
Step 2: Create an output excel file with the template file content.
Step 3: Now create a table inside the newly created output excel file and set A1:A1 as table range. Afterwards, provide comma-separated column names in the Column Names section. In my case, I prepared a string earlier with the attributes I needed as columns.

Step 4: Now insert objects into the table of the output file. Data will be assigned into respective columns according to the attribute name. In my case, I had an HTTP response like the following.
HTTP response


Step 5: Your excel file is ready with the data.
I don't think my requirement is uncommon. I hope someone will find my approach useful.