Add Text Web Part to Page

How to add a Text web part on a SharePoint Online page in a Power Automate flow using the old school SavePage method.

URI

Headers

Body

Screenshot with example

Sample data
ID – 244
Text – Hello World in a Text Web Part

addtextwebparttopage

Copy/paste example

Resources

3.1.5.35.2.1.4 SavePage

That’s it, Happy testing!

You may also like...

1 Response

  1. Riftsan says:

    Hey Dennis, thanks for this write-up, super helpful. I’m trying to get this working for dynamically setting the planId of a Planner web part when creating SharePoint pages via automation. I’m replacing the ID and title where needed, and everything looks structurally correct, but as soon as I run /SavePage and publish, the Planner web part disappears from the page.

    Interestingly, the response from the SavePage call returns “SavePage”: null, which makes me wonder if that’s an indication of a silent failure. There’s very limited documentation available on this endpoint, so it’s been tough to troubleshoot.

    From your example, I see you’re targeting a specific zone and working with a text web part, do you know if Planner web parts have any quirks or validation checks that might cause them to be dropped during save? I’m keeping the original structure untouched aside from updating planId, groupPlans, and the title.

    Any insights or ideas would be hugely appreciated!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.