Hi,
I have a flow set up with the trigger when a new response is submitted within Forms. From this, I want to create a unique form ID number that increments within its own site based on which site is selected in a question, between site 1-6.
So for example, the first form response is submitted for site 1, I want their code to be Site1-2425-1. Then the second form response is submitted for site 4, I want their code to be Site4-2425-1 as this is the first response for their site.
The rest of the flow I have working as expected, there is a switch which determines who should be emailed based on which site the form was submitted for and then the email is sent. The email pulls this unique form ID into the content as this is to be used as a reference number so I just need to tighten up how to generate the IDs to work as expected.
I'm pretty new to power automate so apologies if this is obvious.