Get Pre-Image & Post-Image in Power Automate – No Plugin Needed!

 

🔍 No-Code, Low-Code Solution: Get Pre-Image & Post-Image in Power Automate – No Plugin Needed! 🚀


Want to capture the pre-image and post-image of a record in Power Automate? Here’s a simple no-code, low-code approach—no plugins required!


🛠 Steps to Set Up

1️⃣ Create a Power Automate Flow

  • Use an HTTP Trigger to start the flow.


2️⃣ Register a Webhook in Plugin Registration Tool

  • Open the Plugin Registration Tool (I'm using XRMToolBox)
  • Register a new webhook.

3️⃣ Understand Flow URL & Apply to Webhook:

  • Flow URL: 
    • https://prod-1.../triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=bM1iAOcxcxYPRWp4qZyE
  • Base URL:
    • https://prod-1.../triggers/manual/paths/invoke
  • Query Parameters:
    • api-version = 2016-06-01
    • sp = /triggers/manual/run (replace %2F with /)
    • sv = 1.0
    • sig = bM1iAOxxxRWp4qZyE

  • Register Webhook Step and Image (Pre/Post Image same like plugin)

 🎯How It Works

  • Updating the Contact First Name:

  • When a contact is updated, the webhook triggers and sends a JSON request to the Power Automate flow.


🔍 Extracting Pre-Image Data
  • Go to Output, then click Show Raw Output.
  • Access the JSON response.
  • Target Object contains the updated values, while the Pre-Image Object holds the previous values.

  • Pre-Image Object


🔹 Written by: Shafi Muhammad Shah
🔗 Visit My Blog | ✉️ Contact: sendto_sms@hotmail.com

Comments

Popular posts from this blog

prvReadLanguageLocale privilege Error