Split PDF file upload to seperate files before emailing.

Split PDF file upload to seperate files before emailing.

Hi Support,

I have recently returned from Zoholics and keen to tackle some business problems. While taking to the Zoho Team, they have mentioned that you can help with coding.

So here is what i'd like help with :

I have a form where a PDF file is to be uploaded. I want to be able to split page 1, and page 3 out, rename it and send it to different email addresses.

upload file from form : input_file.pdf

output file : [unique_id]_input_file.pdf (Send email to recipient 1)
page 1       : [unique_id]_page1.pdf (Send email to recipient 2)
page 3       : [unique_id]_page3.pdf (Send email to recipient 3)

I would greatly be appreciated for help in coding this. This will be stage 1 of my plan, the end goal is to parse incoming emails containing this input file, process it with OCR & CRM, to completely automate this process.