web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Site Pa...
Power Automate
Unanswered

Power Automate Site Pages pull return encoded

(1) ShareShare
ReportReport
Posted on by

Hey,

Basically i am pulling data from Sharepoint Site Pages and then store retrieved data in blob. Problem is that data is encoded and is not suitable for my goals. No decoder or code that i tried won't decode whole output to the degree that there won't be any html entities like ":{} 
My guess is that ocet stream encoding alters initial data. 

IljaVitohins_0-1717753913008.png

here is a snip of data received:

IljaVitohins_1-1717754236579.png
Is there a way to clean this data before pushing it to blob?
Maybe there is approach to receieve data in other then ocet stream format?
thank you in advance!

 

Categories:
  • sandeepstw Profile Picture
    312 Moderator on at

    Hi @IljaVitohins ,

     

    Use trigger like "When an item is created or modified in SharePoint."

    Get content form SharePoint using

    Method: GET
    URI: _api/web/lists/getbytitle('SitePages')/items(<item_id>)?$select=Title,FileRef,PublishingPageContent
    Headers:
    Accept: application/json;odata=verbose

    To decode html use "Compose" action with the following expression

    decodeUriComponent(replace(outputs('Get_SitePage_Content')?['body']['PublishingPageContent'], '%20', ' '))

    then use the "Create blob" action to store the cleaned content in Azure Blob Storage.

     

    Mark as solution if it helps.

     

    Thanks,

    Sandeep Mishra

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard