Good afternoon friends, you want to extract PDFs with the condition that it has the same provider, for example the provider “GIGALUX SRL”, it has 3 documents of one page each. There are cases in which the provider has documents with two pages, for example “PROVEFRIO SRL”, on the second page of this provider its name no longer appears, but obviously it must be included. I have already read the names of the suppliers’ documents but I cannot make the cut properly.

1 pdf with 3 “GIGALEX SRL” Documents of one page each (3 pages in total)

1 pdf with 4 Documents DE “KUEHNE + NAGEL SA” of one page each (4 pages in total)

1 pdf with 3 “SEAN METAL SRL” Documents of one page each (3 pages in total)

1 pdf with 3 “PROVEFRIO SRL” Documents of two pages each (6 pages in total)

1 pdf with 4 “INMATEL SA” Documents of one page each (4 pages in total)

I attach the bot to you, it would be great if someone help me with the bot logic

Thanks

Lnx