Before writing the data that is before using write range use a write cell activity and write the key word and then use write range to write your table from the next row
Your sequence looks like below
For loop on Keyword
Search and extract
write cell for keyword
Add data row to the extracted table with empty data
write range for extracted data
cheers