PDF, repeatng group export invioices

Hello, a query, I have a RG with 10 records, I need for each of them to fill in a Group with inputs and generate a PDF.

Can you create a button that goes through the entire RG, loads the data from record 1 in the inputs, generates the pds and repeats the action for the remaining 9?

Thanks

PS I have tried with WF backend but can’t