Extracting data from files

I have a folder with over 100 text files and I have to extract a name (From) and date (Sent) and store it in a file where I can read as a table.

I have the extraction process working, but I cannot manage the final step of saving what I extract into another file.

I’m attaching the xaml file I have so far

Can someone give me an idea on how to finalize the last step.

ThanksMain.xaml (17.5 KB)

hi @selrac,

Create a DataTable with two columns.
before ‘Write CSV’ activity use ‘Add data row’ activity
use write CSV at the end of for-each loop

Main (3).xaml (22.1 KB)

Regards,
Viaks Reddy

1 Like

Thanks Viaks, it worked!!