@keshava219 you may just need to call the servlet via
form-submit/ajax,call the 3rd party API from the servlet ,get the
resonpse ,manupulate the data as required and use JCR APIs to manupulate
JCR nodes etc.and send it back via response object. you can also ref
these links.:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-where-to-store-json-files-to-access-json-as-it-is-in-ui/m-p/272656https://aemsimplifiedbynikhil.wordpress.com/2019/10/04/read-write-data-in-jso...