Microsoft Forms is a survey and quiz creator and data collector.
Create a Microsoft Forms Integration in Torq
Go to Build > Integrations > Triggers > Microsoft Forms.
Click Add.
Give the integration a unique name.
Give the integration Authentication headers with the name "auth" and a secret.
Click Add.
Create a New Microsoft Form
Go to Microsoft Forms and design a new form.
Set Sharing Properties to public.
Click Save.
Set Up a Flow in Power Automate
Go to Power Automate and click New Flow > Automated Cloud Flow.
Give the flow a meaningful name.
Choose the trigger When a new response is submitted.
Click on the trigger under Form ID and select the form you created earlier.
Add a new action and search for Microsoft Forms.
Go to Get response details and specify the Response ID.
Add an action to your flow: HTTP Post request.
URL: Paste the webhook you created earlier in Torq.
Method: Post.
Headers: auth and the secret you created earlier in Torq.
Body: example:
{
"name": "Torq incident Trigger",
"type": "MS Form",
"data": <Add "Body" dynamic content>
}
You can add dynamic content by typing or clicking the lightning icon.
Click Save.
Using Microsoft Form Responses in Torq
The keys received from PowerAutomate are IDs instead of meaningful names. Instead of complexly editing this in PowerAutomate, leverage the Workflow Parameters utility step to rename the keys to be more accessible.