Microsoft Forms
Microsoft Forms has no webhook of its own. The request is sent by a Power Automate flow: it reacts to a new
response, reads the answers and sends them to the Flows address as the form_submitted event. A registration for
a training or a request for a call becomes a confirmation and a reminder in Viber or SMS.
This page is written from the public documentation of Microsoft Forms and Power Automate and has not been checked on a live account yet.
What you need
- A work or school Microsoft 365 account: the Microsoft Forms connector works only with organisational accounts.
- A Power Automate Premium (or Process) licence for the owner of the Power Automate flow: the HTTP action is premium. The Forms trigger and Get response details are standard.
- Permission to use the HTTP action: the data policies (DLP) of your Microsoft 365 tenant may forbid it.
- A question for the phone. Forms has no phone question type: use a Text question and give it a clear title — Phone.
Step 1. Create a connection
- Open
Flows → Connections, press Connect a system and choose Microsoft Forms. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Build a Power Automate flow
- Open make.powerautomate.com → Create → Automated cloud flow.
- AlphaFlow name — for example "AlphaFlow — training sign-up". In Choose your flow's trigger choose Microsoft Forms When a new response is submitted and press Create.
- In the trigger, Form Id — choose your form from the list. For a group form, paste the part of the form
address after
FormId=by hand. - + New step → Microsoft Forms Get response details: Form Id — the same form; Response Id — the dynamic value Response Id from the trigger.
- + New step → HTTP (marked Premium): Method —
POST; URI — the address from the cabinet; Headers —Content-Typewith the valueapplication/json. - Body — paste the text below. The expressions
@{…}go in as they are (in the new designer — through fx / Expression). For each value in angle brackets, put the cursor between the quotes and choose the answer to that question in Dynamic content → Get response details. Type the title of the form as text. - Press Save.
{
"event": "form_submitted",
"message_id": "msforms:@{workflow()?['name']}:@{triggerOutputs()?['body/resourceData/responseId']}",
"contact": {
"phone": "<answer to the Phone question>",
"email": "@{outputs('Get_response_details')?['body/responder']}"
},
"traits": { "first_name": "<answer to the Name question>" },
"properties": {
"form": "<the title of the form, as text>",
"response_id": "@{triggerOutputs()?['body/resourceData/responseId']}"
},
"context": { "source": "microsoft_forms" }
}
- If anyone can answer the form (Anyone can respond), delete the
emailline: instead of an address the responder comes asanonymous, and AlphaFlow drops it with a warning. - If the form is an application rather than a survey, put
lead_submittedinstead ofform_submitted. Get_response_detailsin the expression is the name of the step. If you renamed the step, change the expression too.
Step 3. Send a test
Press Test → Manually and submit the form. In the run history of the Power Automate flow (28 days) the
HTTP action shows the answer 200 with {"status":"success"}, and the event appears in
Flows → Connections → Event journal within seconds. The
connection shows Recognised: Microsoft Forms.
Events
| Microsoft Forms | AlphaFlow event | Properties |
|---|---|---|
| When a new response is submitted | form_submitted | form, response_id |
| The same, with the event changed in the body | lead_submitted | form, response_id |
The contact is found by the phone you chose in the body and by the email of the responder; the first name is the answer to the name question. The time of the event is the time AlphaFlow received it. The body is already an event in the AlphaFlow format, so there is nothing to map — see Event format.
Good to know
- The HTTP action has its own retry policy (Settings → Retry policy, exponential by default). AlphaFlow answers
at once, so repeats are rare, and a repeat with the same
message_idis not recorded twice. - Nothing has to be signed: the secret in the address is enough.
- Not confirmed by Microsoft's documentation: the paths in the expressions (
body/responder,body/resourceData/responseId). The output of Get response details depends on the form and is not described; the trigger path works when the trigger splits responses, as a new trigger does by default. - The event needs a phone or an email, or an id AlphaFlow already knows. Otherwise it is refused with
no_contactand shown in the journal. - One Power Automate flow per form; the same address can go into several of them.
- The address always answers
200. Above the daily event limit the event is refused in AlphaFlow withquota_exceededand shown in the journal; the Power Automate flow stays on.