I have the below Flow which emails when a certificate is going to expire within 30 days, however I would like it to log the number of emails sent. I assume this will be an initialize variable however as this can only "The operation 'Initialize variable' can only be used at top level." I'm a bit stuck on how I would update the spreadsheet or even the sharepoint list when an email is sent. Please could you help
Hi @chidmas12
If you want to log the number of emails sent against each list record then you need to create a custom column in SharePoint as numeric. From the Get Items you can retrieve the current value. After Send email action step you can use an update list item increment the numeric value by adding 1 to keep the count.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blog
Hi @chidmas12 ,
Please check the following configuration and see if it helps:
Best Regards,
Thanks for the reply, how would I specify the field to increment the value?
Hi @chidmas12 ,
I'm afraid which user you responded to in this post, @abm or me?
Please use @username to indicate which user your reply is to. This will help us continue to track this issue and provide you with appropriate methods.
Best Regards,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
27 | |
27 | |
20 | |
10 |