Great question — answering as the UphillTech team:
You discovered already one solution for your problem: Zero-Padding. There are two other common possibilities: Using Recurrent NNs This is often used at text processing, where you feed each word one after another into your model. Using Recursive NNs (I wont recommend this for your use case) This method is also frequently used in word processing, but is more often applied in the semantic analysis of text. You reduce the text to the essential, until it has reached the desired length. However, information is lost in this process.
Full answer by Luca Jung: https://ai.stackexchange.com/a/18057 (CC BY-SA 4.0).
Need it done for your business? UphillTech.