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 Automate
Suggested Answer

Optional URL field

(1) ShareShare
ReportReport
Posted on by 4
Hi, I've seen some similar posts about flows not working with optional date fields when left blank, but I'm having an issue with an optional URL field when left blank and I can't seem to transpose the suggested solution provided for dates.
 
I have a form where users can paste the URL they need support with, if necessary. I have a power automate flow that converts this form to a list item. If the response provides a URL, the flow works fine. But if there is no URL provided, the flow fails with the notification
 
The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/IssueSource' is required to be of type 'String/uri'. The runtime value '""' to be converted doesn't have the expected format 'String/uri'.
 
I'd really like to leave the URL option in the form. Does anyone have a work-around where the flow will still work if this section is left blank?
power automate issue.PNG
Categories:
I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at
    Hi,
     
    Can you try to make the IssueSource optional, instead of required and check if it is empty:
     
    Something like this;
    if(empty(outputs('Get_response_details')?['body/IssueSource']), null, outputs('Get_response_details')?['body/IssueSource'])
     
     
  • Suggested answer
    David_MA Profile Picture
    14,199 Super User 2026 Season 1 on at
    Use a coalesce expression to populate it. For example: coalesce(triggerOutputs()?['body/IssueSource'], ''). This post explains what the expression does: Power Automate Coalesce Function Explained (zeitgeistcode.com)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard