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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Does the "When a HTTP ...
Power Automate
Unanswered

Does the "When a HTTP request is received" trigger support optional elements?

(0) ShareShare
ReportReport
Posted on by 30

I'm building a flow that should get triggered whenever a webhook from Jira is activated. There are some elements that I'd like to use, but are optional and have the value "Null" if unassigned. Normally, to allow both a string and the null in a property, you'd write something like:

"types": ["string", "null"}

However, from what I've experienced, the event seems to only pass the values of elements that have a single type assigned to them - leaving them empty otherwise. But if I only use "string", any request with the value as null will fail - I can't use something like "minimum" either, since the element is present, just incorrectly assigned.

Is it even possible to have the event default strings with null to "", or do I have to make sure any value I care about is guaranteed to not be null?

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @cegekaJG It should be possible to edit the Schema

     

    {
    "type": "object",
    "properties": {
    "name": {
    "type": "string",
    "required": false
    },
    "age": {
    "type": "integer",
    "required": true
    }
    }
    }

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • Jakob Gillinger Profile Picture
    30 on at

    Like I said, that doesn't work, because the element is present - the problem is that it is assigned null. So instead of

    "timeZone": "Western Europe"

    the webhook sends:

    "timeZone": null

     

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

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard