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 Automate
Unanswered

extract Body value

(0) ShareShare
ReportReport
Posted on by 26
I am New to Power Automate , please help me
 
 
the goods is submitted
 
1.invoice(CC704589654, Receipt # 568954)
 
thank you,
 
 
when email arrives , i want Receipt # number , and save in one-drive with #number .
 
Please Solve this.
  • VJR Profile Picture
    7,635 on at

    Hi @darkhorse12 

     

    "when email arrives , i want Receipt # number , and save in one-drive with #number"

    Looks like you are looking for a solution in Power Automate (Cloud Flows). Is it?

     

    But this is a Power Automate Desktop (Desktop Flows) forum....so which one are you looking for?

     

    For Cloud Flows there is a trigger called as "when an email arrives".

    Go to the Templates section of the Cloud flow tool (flow.microsoft.com) and search for a template that says something with Save email attachments to OneDrive.

     

    You will get a readymade template to achieve this.

     

     

     

  • darkhorse12 Profile Picture
    26 on at

    yes in power automate cloud flow, i have trigger that, but want an expression to get the#number.

     

  • darkhorse12 Profile Picture
    26 on at

    Capture.JPG

  • VJR Profile Picture
    7,635 on at

    ok you will get more help there 🙂 but 

    Split is perfect. the 2nd element will be the one you need.

     

    Is the above working for you?

     

     

  • darkhorse12 Profile Picture
    26 on at

    No , I will get that text but i have get also whole text, and i want only #(number)

  • VJR Profile Picture
    7,635 on at

    Can you show screenshots of what are you getting in the compose

    and also the output of the Split function.

  • darkhorse12 Profile Picture
    26 on at

    darkhorse12_0-1645784727996.png

     

    darkhorse12_1-1645784812662.png

     

  • VJR Profile Picture
    7,635 on at

    If the receipt number is going to be 6 digits then you can use substring on the above output of compose 2 and grab the first six digits?

     

     

  • darkhorse12 Profile Picture
    26 on at

    I don't know , i am new at this, can you please suggest me or give me expression code?

     

  • VJR Profile Picture
    7,635 on at

    Use another compose statement 

    substring(<composeoutput>,0,5)

     

    In the place of the blue color, drag the output coming from Compose 2 using the dynamic content.

     

    I think it starts from 0. If not then use 1 to 6.

     

     

    Share the output of the new compose statement just explained above.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard