Hi @Abhijit Bhadra ,
Thank you for posting query in Microsoft Q&A Platform.
Yes your approach is right. Use Lookup activity to get dynamical numbers and use ForEach activity to iterate over them. Inside Foreach activity use Copy activity. In Copy activity for source tab use REST or HTTP connector type dataset and in Sink tab use dataset of your destination data store. Please note, Here your source dataset should be parameterized so that dynamically it can take numbers from ForEach iterator and form the API URL dynamically and get response accordingly.
When you say you want to extract required data that means loading data from desired tags itself? If yes, utilize mappings tab under copy activity and import schemas there and remove the mappings of not required tags.
Please check below video where almost similar kind of requirement of forming API URL dynamically inside ForEach loop explained.
https://www.youtube.com/watch?v=EbURwy2a8dM
Below video helps to understand about parameterizing datasets.
https://www.youtube.com/watch?v=9XSJih4k-l8
Hope this helps. Please let us know if any further queries.
-------
Please consider hitting Accept Answer
button. Accepted answers help community as well.