Adding list items in SharePoint via webhook and Power Automate
Key Points
In Power Automate
- Create a flow with an HTTP Request from FormAssembly
- Create a request body schema. Select "Use sample payload..." to generate the schema based on sample data.
- Include a Condition to validate with an API key
- In the True path, include a step to create a list item
- Map values from the schema to the list item (shown later in the video)
In FormAssembly, Webhook Connector Properties
- Set Authorization to None (the API key will be included in the header)
- Use a POST method with the HTTP URL from Power Automate and a JSON Content Type.
- Add a Custom Header with the API key name and value
- Create the Request Body using values from the dropdown menu