How to add a Title Area web part on a SharePoint Online page in a Power Automate flow.
This sample adds the web part to a fullWidth 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 | fullWidth | fullWidth Section layout, other Layout value options |
| layoutType | FullWidthImage | Author, ColorBlock, CutInShape (Overlap), Fade, FullWidthImage (Image and Title), NoImage (Plain) |
| showPublishDate | true | Show published date in Header |
| showTimeToRead | true | Show Estimated Time to Read metric in Header |
| SitePageId | 7583b9c8-fea4-41fe-986b-050b8020ad83 | 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 |
| textAlignment | left | |
| WebPartType | cbe7b0a9-3504-44dd-a3a3-0e5cacd07788 | aka Title Area, 13 other supported Web Part types |
Expected response
Will return the details of the updated page.
Copy/paste example
Resources
Update sitePageCustomize the title area
supported Web Part types
That’s it, Happy testing!
