Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Send 3 emails, flow ran, but only pulled the first email.

(0) ShareShare
ReportReport
Posted on by 109

EDIT: When I re-create this flow using a non-shared mailbox, all flows work perfectly and it captures every email. It seems to be something with the shared mailbox aspect of things.

Hi team,
Thanks to this community, I have my first successful Automated flow.

soy_0-1700753016917.png

My problem is, I sent three emails to my shared mailbox, but it is only capturing the first email on my excel. The purpose of this flow is to get every email with a specific subject, and extract the data. 

I also noticed that whenever I change the Interval, it goes back automatically to 5 minutes.

soy_1-1700753077755.png

Lastly, it is skipping the other two.

soy_0-1700753248488.png

 

 

Anyone know what's going on? Thanks in advance.

 

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Hey @v-xiaochen-msft , re-created the flow from scratch but unfortunately did not work. Still get the error, 

    Request to Azure Resource Manager failed with error: '{"error":{"code":"InvalidTemplate","message":"The template language expression evaluation failed: 'The execution of template trigger 'When_a_new_email_arrives_in_a_shared_mailbox_(V2)' failed: the result of the evaluation of 'splitOn' expression '@triggerBody()?['body/value']' is of type 'Null'. The result must be a valid array.'."}}'.

    Thanks for trying! 

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Do you think it makes that much of a difference to re-create the whole flow just because it wasn't built on classic designer?

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    I'll try re-creating my flow, but I did turn it on and it is still skipping some! I really appreciate you trying to help and I might ask for your help tomorrow when I try again 🙂

  • v-xiaochen-msft Profile Picture
    on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Hi @soy ,

     

    It worked for me.

    Please try creating a flow from scratch in classic designer.

     

    Best Regards,

    Wearsky

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    When adding an array, I get an error:

     

    Request to Azure Resource Manager failed with error: '{"error":{"code":"InvalidTemplate","message":"The template language expression evaluation failed: 'The execution of template trigger 'When_a_new_email_arrives_in_a_shared_mailbox_(V2)' failed: the result of the evaluation of 'splitOn' expression '@triggerBody()?['body/value']' is of type 'Null'. The result must be a valid array.'."}}'.

     

     

     

    Screenshot 2023-11-23 at 9.07.57 PM.png

     

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Hi @soy ,

     

    Please try this in classic mode.

    vxiaochenmsft_0-1700791482365.png

     

    Best Regards,

    Wearsky

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Let me try! Should I leave the array blank?

  • v-xiaochen-msft Profile Picture
    on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Hi @soy ,

     

    Please try to use classic designer.

    vxiaochenmsft_0-1700791179802.png

     

    Best Regards,

    Wearsky

  • soy Profile Picture
    109 on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    When I turn it on, and save it, it turns it self off after the saving is finished. 

  • v-xiaochen-msft Profile Picture
    on at
    Re: Send 3 emails, flow ran, but only pulled the first email.

    Hi @soy ,

     

    Please turn on it and check again.  I believe it will work.

     

    Best Regards,

    Wearsky

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow