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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating a customer vo...
Power Automate
Unanswered

Creating a customer voucher system

(1) ShareShare
ReportReport
Posted on by 2
Hi, 
 
I would like to make a system where I can send out redeemable vouchers to customers.
 
I have setup a form that employees can fill out when receiving a complaint on Microsoft Forms. I would like this information to populate in a spreadsheet so I have a history I can refer back to, I was thinking Microsoft lists but there may be a better alternative. 
 
At the same time, when the form has been submitted I would like an email to be sent to the customer (one of the fields in the form contains the customers email). 
The email should contain a link to a voucher which would change depending on what "choice"was selected on the form. 
Once the link has been activated and "redeemed" then the customer should not be able to access the voucher anymore. 
 
One the voucher has been redeemed this should also update in microsoft lists. 
 
Any help would be appreciated. Cheers.
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    This is kind of straight forward so bear (lol) with me, as I cannot paste pictures, so please follow the Actions and steps I say in order.
     
    Note: When anyone submits a Microsoft Form it is automatically stored inside an Excel file HOWEVER, do NOT NOT NOT attempt to use this for anything, as due to caching issues you will only pull your hair out.
     
    Create a SharePoint List, or if you want it to be in Excel that is fine, just please, i cannot warn you enough NOT to rely on the one that Forms creates and stores the info in. You would have to create another excel in OneDrive or SharePoint and write the data (yes duplicated essentially) but it would be available asap not hair pulling on its own time.
     
    But I recommend creating a simple Microsoft List to store all the responses AND to store the "tracking" of creating a voucher and sending it in email successfully, the voucher ID/number whatever AND another field that would be "has been redeemed" 
     
    That makes all your tracking needs met
     
    1. Create a Power Automate flow using a Trigger for When a Response is Submitted
    2. Use the Get Response Details Action <== creates the Dynamic Properties for later use in the Flow
    3. The Next Step would be a Case/Switch Action
    This will allow you, to setup an Action where in the Input IS the Choice the employee selected ANDS then you would end up with 1-Many Paths. So for instance one path is "Just Mad" and another is "No I mean Really Mad" for instance and in each one you would have whatever you are going to do to create a Voucher
     
    Now there is no way for me to explain to you have to create a Voucher, thats your own business process, however, you would put the code in those paths, to generate it.
     
    4. Use a Create Item (for SharePoint) to enter everything you did so far including the voucher ID etc
     
    5. Put in a Send Email V2 action
    in the To, just add the Dynamic Answer that your employee put in for the email
    Put in the body including the voucher
     
    6. Put an Update Item statement for SharePoint, to update the Previously created to update the column that tracks that you sent it
     
    Next...
     
    However they use the voucher, that incoming system must be able to update the SharePoint item you created before by using a POwer Automate Flow to Update the previously created record to show the Voucher is now used.
     
    That same system has to be able to use a flow or api call to SharePoint to verify if the voucher is already used or not and deny them.
     
     
    That explains everything you need to do, how you integrate that with your incoming usage of the voucher is up to you to figure out.
     
     
     
     
    P.S. This could also be built using CoPilot and its pretty much the same.... in your case (to a degree) but I don't want to make assumptions on licensing

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard