Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Send auto reply email on receiving first email on shared mailbox with Unique Number (starting from 1 to infinity)

(0) ShareShare
ReportReport
Posted on by 2

I am trying to create an automated cloud flow that generates an auto-reply email when receiving the first email to a shared mailbox.
Auto-reply email will be sent to the sender on their first email with a uniquely generated reference number starting from 1- infinity.

 

Issue: I am not able to generate an incremental unique reference number for every first email received. I have attached the flow I have created. Any help is appreciated.

Expected Output:

 

Example1 : Auto Reply Email body- "Thank you for contacting the ABC Mailbox. Here is your unique reference number :1. We will be in contact shortly regarding your query. Thanks"

 

Example2 : Auto Reply Email body- "Thank you for contacting the ABC Mailbox. Here is your unique reference number:2. We will be in contact shortly regarding your query. Thanks"

 

Image-1Image-1Image-2Image-2

 

 

Any help is appreciated. 

  • VictorIvanidze Profile Picture
    12,509 on at
    Re: Send auto reply email on receiving first email on shared mailbox with Unique Number (starting from 1 to infinity)

    Use GUID function.

  • npatel5 Profile Picture
    2 on at
    Re: Send auto reply email on receiving first email on shared mailbox with Unique Number (starting from 1 to infinity)

    I need an "autoreply" sent out from our team mailbox to anyone's first email sent into the mailbox. It would include a unique reference number going from 1-infinity. Reference Number should be incremental for each email sent,

    eg- 1,2,3,4,5,....

    The reply we need automated would be something like "Thank you for contacting the ABC Mailbox. Here is your unique reference number. We will be in contact shortly regarding your query. Thanks".

     

    How should I generate unique reference number?

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Send auto reply email on receiving first email on shared mailbox with Unique Number (starting from 1 to infinity)

    Hi @npatel5 

     

    I would suggest you to please use SharePoint list to store the email sender info. Use 'Create item' action to create a new item in the list and use the auto generated ID column of the new list item in the respond email.

    As an example, pls refer the below flow:

    ManishSolanki_0-1688037834203.png

     

     

    if this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1