# Read multiple text documents in PDF

**URL:** <https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326>\
**Category:** How to build\
**Created:** [February 13, 2023, 5:12pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326 "2023-02-13T17:12:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Miguel\_Almonte](https://forum.electroneek.com/user_avatar/forum.electroneek.com/jose_miguel_almonte/32/551_2.png) [@Jose\_Miguel\_Almonte](https://forum.electroneek.com/u/Jose_Miguel_Almonte)\
**Post date:** [February 13, 2023, 5:12pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/1 "2023-02-13T17:12:57Z")

</div>

I’m making a bot that reads multiple PDF files. How to use the loop to get these results?

Thank you!!

 ![POR](https://forum.electroneek.com/uploads/default/original/2X/4/4260da8ed5e735f45b873dd85149c29cca7724e1.png)

---

<div class="post-metadata">

**Author:** ![cris-dsc](https://forum.electroneek.com/user_avatar/forum.electroneek.com/cris-dsc/32/768_2.png) [@cris-dsc](https://forum.electroneek.com/u/cris-dsc)\
**Post date:** [February 13, 2023, 5:22pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/2 "2023-02-13T17:22:12Z")

</div>

Can you elaborate more on the situation? What exactly are you trying to do?

---

<div class="post-metadata">

**Author:** ![Jose\_Miguel\_Almonte](https://forum.electroneek.com/user_avatar/forum.electroneek.com/jose_miguel_almonte/32/551_2.png) [@Jose\_Miguel\_Almonte](https://forum.electroneek.com/u/Jose_Miguel_Almonte)\
**Post date:** [February 13, 2023, 6:09pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/3 "2023-02-13T18:09:00Z")

</div>

I am making a bot that reads each of the PDF documents. I have to create a loop for this to be effective, the question is how to do this procedure.

Where does one start?

---

<div class="post-metadata">

**Author:** ![Arran\_McCullough](https://forum.electroneek.com/user_avatar/forum.electroneek.com/arran_mccullough/32/706_2.png) [@Arran\_McCullough](https://forum.electroneek.com/u/Arran_McCullough)\
**Post date:** [February 13, 2023, 7:37pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/4 "2023-02-13T19:37:36Z")

</div>

Hi @Jose_Miguel_Almonte,

To get a list of files I recommend using the **List Directory Files** activity. This will read a specific directory and return a list of the files that you can then loop through.

Here is a link to our Help Center with more info: [link](https://help.electroneek.com/hc/en-us/articles/360020187978-List-directory-files)

Thanks,  
Arran

---

<div class="post-metadata">

**Author:** ![Muhammad\_Hayyan](https://forum.electroneek.com/user_avatar/forum.electroneek.com/muhammad_hayyan/32/1746_2.png) [@Muhammad\_Hayyan](https://forum.electroneek.com/u/Muhammad_Hayyan)\
**Post date:** [February 14, 2023, 6:04am UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/5 "2023-02-14T06:04:59Z")

</div>

Hi @Jose_Miguel_Almonte

I am attaching the image of the work flow. It will work for you. But in this case you have to save the data somewhere i.e I have saved it in word file. You can save it in some excel file if you want. As we know, a variable can only store data of one book at a time.

**Work flow**

 ![image](https://forum.electroneek.com/uploads/default/original/2X/f/f19f061cc1bb6fecc1680d13135a4193c54d432f.png)

**Properties of the list directory files**  
 ![image](https://forum.electroneek.com/uploads/default/original/2X/5/50cbcef9f7a5b7805c35bb37b53a97c022432dd3.png)

I hope it works for you!

Best Regards  
Muhammad Hayyan Khan

---

<div class="post-metadata">

**Author:** ![Jose\_Miguel\_Almonte](https://forum.electroneek.com/user_avatar/forum.electroneek.com/jose_miguel_almonte/32/551_2.png) [@Jose\_Miguel\_Almonte](https://forum.electroneek.com/u/Jose_Miguel_Almonte)\
**Post date:** [February 14, 2023, 3:40pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/6 "2023-02-14T15:40:41Z")

</div>

I would like to see the **Read text** properties in that case…

---

<div class="post-metadata">

**Author:** ![Mabwa\_Neek](https://forum.electroneek.com/user_avatar/forum.electroneek.com/mabwa_neek/32/403_2.png) [@Mabwa\_Neek](https://forum.electroneek.com/u/Mabwa_Neek)\
**Post date:** [February 16, 2023, 4:43pm UTC](https://forum.electroneek.com/t/read-multiple-text-documents-in-pdf/2326/7 "2023-02-16T16:43:26Z")

</div>

Hello @Jose_Miguel_Almonte we would like to find out if any of the solutions above worked for you. If they did please mark the answer as a Solution to assist other users who experience the same.

Happy Automation with ElectroNeek!!
