Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

increment a value each time the flow is executed

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm having a flow that increment a value.

The problem is that each time the flow is executed the value resets to zero.

 

I want to send an outlook message to someone with the value in the topic.

 

For example:

If user x send a message the topic will be: "number 1"

and if user y send a message the topic will be: "number 2"

 

how can i do that in power automate?

 

Thanks

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: increment a value each time the flow is executed

    Thank  you @Pstork1  and have a great week.

  • Verified answer
    Pstork1 Profile Picture
    66,026 Most Valuable Professional on at
    Re: increment a value each time the flow is executed

    Here's an article that will walk you through the process.

    Update cells in Excel using Power Automate Flows (sharepains.com)

  • Community Power Platform Member Profile Picture
    on at
    Re: increment a value each time the flow is executed

    Thanks,

     

    How can i update an Excel cell value?

  • Pstork1 Profile Picture
    66,026 Most Valuable Professional on at
    Re: increment a value each time the flow is executed

    To save a value between flow runs you need a data source to save it in.  Something like a SharePoint list or an Excel file.  All Flow instances run independent of each other.  So you'll need to get the value, increment it, and save the updated value back at the beginning of the flow.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow