Hello, @johananmahendran - Welcome to Azure, and thanks for reaching out!
You're on the right path by going with the Event Grid trigger, and here's how I would break down the workflow:
- Configure Event Topic and Event Subscription by following the steps in this doc: Reacting to Blob storage events
- Be sure to thoroughly review all details like Event Schema and supported Event types.
- Use Event filters for
.docx
or.xlsx
files.
- Setup Azure Functions with Event Grid trigger:
- Use Azure Blob SDK (available for languages other than c#) for handling chunks, creating new
.pdf
blobs & relevant libraries for the language of your choice to handle conversion.
Additionally, I would also consider Logic Apps for this type of workflow as it might provide quicker time-to-solution using a declarative, designer-first development approach.