This will do the below items.
- convert a folder of tif files to pdf using img2pdf
- add a OCR layer and gives a PDF/A using ocrmypdf
- add watermark text on bottom right using markpdf
- shrink the pdf using ghostscript
Thanks for the awesome Free/Open Source developers for giving all the solutions for technical problems.