Hi @Rashmika_Lakshan! As you've noticed, the Retool AI block inside of a workflow doesn't have the pre-configured option to extract text from a PDF document. It's something that our team is aware of and actively working on - I'll be sure to share any updates here as they come in.
That said, it's still possible to accomplish this! As @jg80 mentioned, workflows do support executing both JS and Python scripts. There are quite a few libraries that will extract text from a PDF, especially when working with Python - pypdf
is a good one that is well-documented. You can add it to your workflow's environment here:
You can check the library's documentation for insight into using the library! Don't hesitate to follow up here if you have any further questions. And hopefully we can get that feature rolled out for you soon. Happy building!