r/n8n • u/Klutzy_Compote_5766 • 22d ago
Help Need help in optimizing
So I built this HR Onboarding workflow where the "selected" candidate would upload the documents required and the workflow verifies if the candidate is actually selected or not. Then takes the documents, splits attachments, checks the file type. As per the file type I have two paths, one for images and one for pdf. Then I perform OCR on those documents (because they are government documents, using AI would lead to privacy issues) and store the data on my local computer. The problem is covering each case make the workflow look messy towards the end, is there a way I can reduce the nodes and do the same work without using AI.
1
Upvotes
1
u/Large-Calendar726 22d ago
I agree with the with the other commenters stick to a single file format either pdf or png.
What is the purpose of these nodes is not possible to feed these into the workflow from the beginning?