I am receiving a pdf in the body as a POST Rest api call and want to convert that pdf to a base64 string so i can save it the way i want in my Supabase db. I tried creating such node with AI but it doenst work.
Does anyone has the code or a good prompt to create such node?
Solution
HI @Sleetza, to make this simpler, you can follow this flow: - PDF to Text (there is a pre-existing node for this). - Then create a node using AI or custom logic to convert text to base64 - pass the result to the Supabase Create node.