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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create a web ho...
Power Automate
Unanswered

How to create a web hook trigger with variable schema

(0) ShareShare
ReportReport
Posted on by
I created a connector with a web hook with the below trigger, which works great:
 
 { "webhook_id": "7689a169-a000-4985-8676-6902b96d6627", "event": "taskUpdated", "task_id":"c0j", "history_items": [ { "id":"33169", "type":1, "date":"1575650190085", "field":"status", "parent_id":"1753", "data":{ "status_type":"closed" }, "source":null, "user":{ "id":183, "username":"John Doe", "email":"example@email.com", "color":"#827718", "initials":"JK", "profilePicture":"https://dev-attachments-public.clickup.com/profilePictures/183_nx1.jpg" }, "before":{ "status":"open", "color":"#d3d3d3", "orderindex":0, "type":"open" }, "after":{ "status":"complete", "color":"#6bc950", "orderindex":1, "type":"closed" } } ] }
 
I created it by pasting in the json sample so it could derive the schema. The problem is that sometimes the schema changes. In some cases, the bold face part above looks like this:
 
"before":"open",
"after": "closed"
 
The flow will fail as the web hook says "before" should be an object instead of a string. How do I configure the web hook so that it can handle these types of variations in schema?
 
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard