Subramanian, Udayakumar Thanks for posting your question in Microsoft Q&A. Unfortunately, there is no direct approach to convert HTML to JSON in Logic Apps (only Create HTML table action to convert from JSON to HTML). Instead, you can use Azure Functions to perform the transformation and then be called from Logic Apps. I see a similar discussion in Stack Overflow with a code snippet in C# language (other discussion - JavaScript) for reference. Similarly, you can implement or customize it in other supported languages.
If you are interested in this feature or submit feedback, please do so via Logic Apps - Feedback and others with similar interests can upvote it too. This will help our product team prioritize the features.
I hope this helps and let me know if you have any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.