Fixed it. Printed the ‘Read PDF text’ activity to a log and saw that i had made a mistake. Thanks for helping!