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

Community site session details

Session Id : Z3VhpHVa76xqVXJ5n5GtzF
Power Automate - Using Flows
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 23 Nov 2023 15:24:48 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 24 Nov 2023 at 14:18:59
    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 24 Nov 2023 at 02:52:44
    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 24 Nov 2023 at 02:44:32
    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 24 Nov 2023 at 02:16:05
    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 24 Nov 2023 at 02:08:15
    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 24 Nov 2023 at 02:04:51
    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 24 Nov 2023 at 02:02:42
    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 24 Nov 2023 at 01:59:47
    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 24 Nov 2023 at 01:58:04
    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 24 Nov 2023 at 01:51:08
    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete