i am getting 7 files out of this as 7 attchments are there but how can i merge extracted data from each file into one
In your current flow, based on the JSON above, the Split In Batches node has no defined output to any other node. This effectively breaks the file-by-file processing cycle.
Gmail Trigger
↓
Code (extract attachments)
↓
Split In Batches
↓
Extract from File
↓
Extract Account & PnL
↓
Code (unify all results) - Take the result from the split output and deliver N JSON files separately based on the split cycles.
Here you can see that in the split configuration you have the loop that goes through each element and then has an output to the flow, there you will add a code to unify all the outputs
Hey @Ankit_Rai ,
You can simply solve your problem by using the following workflow, I tied to recreate based on your use case.
Please have a look at , and let me know if it is working for you.
Explanation
- I used summarize node here to concatenate all the text fields we are getting from previous node (i.e extract content from pdf).