Hi Harshitha,
You can try the following Java Action from Community Commons: MergeMultiplePdfs
I hope that helps you, best regards!