Skip to main content

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.

Written from Microsoft Forms documentation

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​

  1. Open Flows → Connections, press Connect a system and choose Microsoft Forms.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Build a Power Automate flow​

  1. Open make.powerautomate.com → Create → Automated cloud flow.
  2. 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.
  3. 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.
  4. + New step → Microsoft Forms Get response details: Form Id — the same form; Response Id — the dynamic value Response Id from the trigger.
  5. + New step → HTTP (marked Premium): Method — POST; URI — the address from the cabinet; Headers — Content-Type with the value application/json.
  6. 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.
  7. 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 email line: instead of an address the responder comes as anonymous, and AlphaFlow drops it with a warning.
  • If the form is an application rather than a survey, put lead_submitted instead of form_submitted.
  • Get_response_details in 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 FormsAlphaFlow eventProperties
When a new response is submittedform_submittedform, response_id
The same, with the event changed in the bodylead_submittedform, 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_id is 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_contact and 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 with quota_exceeded and shown in the journal; the Power Automate flow stays on.

Microsoft Forms documentation​