Rodrigo-RR
Convex Community2y ago
10 replies
Rodrigo-R

PDF Parsing - actions and mutations

Hi!
I have this dilemma:
I need to parse a PDF using pdf2json (or any other library) to store its contents ,and the only way i got it semi working is using an action marked with "use node".
But when using this configuration i can't call mutations, since the compiler refuses to accept it.
This effectively defeats the purpose of parsing a pdf in an action in the first place, forcing me to upload the file to store it, download it to parse it and re upload the contents again, very inefficiently.
Is there a better way?
Was this page helpful?