Hi @Sajith Gopalakrishnan Hema
I will recommend you to use Power Automate to integrate SharePoint Online with RPA. I have found a nice article about this, please make a reference.
https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Robotic-Process-Automation-RPA-Integrate-Common-Data-Service-CDS/ba-p/583485
Since the issue is about Power Automate. You can go to the dedicated forum for Power Automate. You will get more professional advice in there
For python, I will recommend you to use rest api to connect sharepoint online. You can use Office365-REST-Python-Client 2.3.14 to achieve your requiement.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.