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 : af2U6bpZGWso1OeUyhALt8
Power Automate - Building Flows
Answered

Manage subscription list using a Form

Like (0) ShareShare
ReportReport
Posted on 1 Aug 2023 18:40:30 by 47

Hi,

A complete novice building my first flow and stuck already. Somebody must have done this before as it's so simple, but I can't figure it out.

 

I want my users to be able to subscribe / unsubscribe via one Form (with just that one question). This will update a SharePoint list that records the user email and whether Unsubscribe is true or false. Then the flow should send a different email to the user depending on whether they are subscribing (new) / re-subscribing / unsubscribing / not found (but they wanted to unsubscribe anyway).  So basically the flow somehow needs to:

1) get the response from the Form (I started with this trigger :-D)

2) get the items from the SharePoint list

3) check if the email address is already in the list

4) create a new item in SharePoint or update the item with the subscribe response

5) send an email based on all of the above

 

If anyone can point me in the right direction to achieve this I would be very grateful.

Thank you

  • mnc2023 Profile Picture
    47 on 03 Aug 2023 at 13:49:45
    Re: Manage subscription list using a Form

    I know what I did wrong now! In case it helps someone else, this is what my flow looks like:

    mnc2023_0-1691070478866.png

     

  • mnc2023 Profile Picture
    47 on 03 Aug 2023 at 11:06:58
    Re: Manage subscription list using a Form

    @SudeepGhatakNZ I have been trying to get this to work, but running into the same problem that there is 'Apply to each' automatically created which adds confusion and the Get Items step does not filter in the way that you have shown and returns an Invalid error.  My SharePoint list has only two columns: Title (email) and Unsubscribed (True or False as string). Any idea what I'm doing wrong?

     

    mnc2023_0-1691060718051.png

     

  • mnc2023 Profile Picture
    47 on 03 Aug 2023 at 09:13:47
    Re: Manage subscription list using a Form

    @SudeepGhatakNZ Thank you very much for your suggestion. I'll base my further experiments on this.

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 02 Aug 2023 at 23:53:29
    Re: Manage subscription list using a Form

    You can just add a switch case under your Create item that sends an email based on the Subscription type

     

  • mnc2023 Profile Picture
    47 on 02 Aug 2023 at 08:37:48
    Re: Manage subscription list using a Form

    Thank you @SudeepGhatakNZ for your swift reply. This is an important step forward!

     

    What's missing is that there are actually 4 different emails I want the flow to send for these scenarios:

    1) Subscribed - Completely new user (that's easy, send email comes straight after Create item)

    2) Unsubscribed - user email present in the list, Unsubscribed column status is being changed from false to true

    3) Re-subscribed - user email present in the list as has previously unsubscribed, (so Unsubscribed column status is being changed from true to false)

    4) Not found - user email NOT present in the list, but form response is to Unsubscribe so user may have made a error

     

    How would you suggest I introduce the additional conditions to account for all these scenarios?

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 02 Aug 2023 at 01:54:59
    Re: Manage subscription list using a Form

    @mnc2023 ,

    This should be the overall structure

    SudeepGhatakNZ_0-1690941183268.png

    Please note that I am using a Filter in Get Items action to filter out only the record that belongs to the user filling the form.

    SudeepGhatakNZ_1-1690941276038.png

     

    If record is found, update the record otherwise create an item.

    Hope it helps!

     

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