Add Divider Web Part on page
How to add a Divider web part on a SharePoint Online page in a Power Automate flow.
This sample adds the web part to a One Column section on the page.
supported Web Part types
That’s it, Happy testing!
This sample adds the web part to a One Column section on the page.
URI
Headers
Body
Screenshot with example
Below are a bit more details about the values used in this example. Hopefully that helps in configuring the right body payload.Property | Value | Details |
---|---|---|
layout | oneColumn | One Column Section layout, other Layout value options |
length | 50 | the length of the divider in a percentage, in this case 50% |
SitePageId | 6a4a477b-6af3-43bc-9d98-73a41abc91e0 | Guid of the Page which will be updated |
SiteId | contoso.sharepoint.com,0b11c57d-ef88-46d7-9743-8e800c507595,af1a15c6-956b-4652-b8f8-869836e4e6ee | Environment Variable used in the Site Address |
WebPartType | 2161a1c6-db61-4731-b97c-3cdb303f7cbb | aka Divider, other supported Web Part types |
weight | 4 | The weight of the line, a number between 1-6. |

Expected response
Will return the details of the updated page.Copy/paste example
Resources
Update sitePagesupported Web Part types
That’s it, Happy testing!