Thrive Apprentice and certificate generation

Im working on a website with wordpress and im trying to make a course in Thrive Themes that after completion sends an email to the user with an automatically generated pdf certificate that proves they completed the course. Anyone have any idea what solution i can use for this?

Thanks in advance 🙂