web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Whenever a new email m...
Power Automate
Unanswered

Whenever a new email message comes, Retrieve Body from that mail using Power Automate Desktop.

(0) ShareShare
ReportReport
Posted on by 109

Whenever a new email message comes, Retrieve Body from that mail using Power Automate Desktop.@

I have the same question (0)
  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @naidu1811 

     

    You aim to execute this scenario using either Outlook or Office 365 Outlook.

     

    Additionally, the trigger point must be set within the cloud flow only. Once you confirm the above thing, I can propose the appropriate actions or flow approach accordingly.

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • naidu1811 Profile Picture
    109 on at

    This is my scenario, @Deenuji 

     

    I want to extract OTP from Google mail inbox and save that OTP in Variable Using PAD.

     

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @naidu1811 

     

    Begin by setting up an application for your Gmail account using the provided video tutorial. Although the video demonstrates the process for Google Drive, the steps are similar and applicable for setting up an application for Gmail as well.

    (110) #3. OAuth 2.0 | Generate Client ID & Client Secret For Google APIs | - YouTube

    Alternatively, you can explore other channels for instructions on setting up an application specifically for Gmail to obtain the client ID and client secret.

     

    Once this setup is complete, proceed to create an automated flow using the trigger options below.

     

    Deenuji_0-1714994842274.png

    Afterwards, configure your Gmail client ID and secret in the flow configuration screen. This will enable you to access and retrieve email properties, including the email body. Next, invoke your desktop flow and pass the email body as a string into the desktop flow. From there, you can proceed with processing the remaining tasks within the desktop flow.

     

    Hope this helps!!


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard