@kkhan_123 I am not sure if this steps will work correct. This is just my idea. Try it out and let me know. I was refering to OOTB workflows/launchers which somehow might help you . Below is a launcher which will trigger a workflow when a video is uploaded and an original node is created. Below page is self explanatory to a great extend (Replace your local port number ) http://localhost:4502/mnt/overlay/cq/workflow/admin/console/content/launchers/properties.html?item=%...


Keep this launcher as a reference and try to write a similar launcher for your audio files . Below is the algorithm I might follow
1. Create a workflow process step , which captures a thumbnail for the audio file. (I am not sure of how you are planning to get the thumbnails for audio file. But if you already have the thumbnails in some location, fetch it and upload it via this process or generate it and upload it via this process step)
2. Once you write the Process , create a workflow model using this Process step, making sure the model will upload a thumbnail for your file.
3. Create a launcher for the audio file ( refer the above video file launcher settings . Keep only the needful settings) and link the model you created in Step 2 to this launcher
4. Enable the launcher
5. Test your launcher by uploading your audio file. When your original node is created , this launcher should be executed and your process step should run if everything is correct.
6. Add proper logs to check if anything is failing or why is it failing and fix your logic accordingly.
Hope this gave you little bit of direction. I have not tried this, but let me know if you need more help. Happy to help
Thanks
Veena