Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How to check if an email and date exist in Sharepoint list from form submission

(0) ShareShare
ReportReport
Posted on by

I have a list with the following information and I have a form where I want the flow to check if the email and Date in office = true, I will return the 'sign-in' value. Tried using 'filter query' in get items. Always encountered 'bad request'. 

 

My guess is the format for both email and date. The date in list is mm/dd/yyyy, but the flow return is yyyy-mm-dd

 

Sharepoint list:

Name (as per AD work name), Email (as per AD work email), Date in office, Sign-in.

 

Form field:

Name, Email, Date in office, Sign-in

 

Flow:

 
  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: How to check if an email and date exist in Sharepoint list from form submission

     

    Hi @teoooo ,

     

    Please try to run the Get items action without configuring Filter Query and get the field name in the Body.

    184.PNG

    Then configure these field names to Filter Query. This method only works if the type of the Email field is single line of text.

    185.PNG

    Regarding the format of the Date filed, the format in Forms and SharePoint List are the same, it seems that we do not need to format again.

     

    Best Regards,

  • efialttes Profile Picture
    14,756 on at
    Re: How to check if an email and date exist in Sharepoint list from form submission

    Hi!

    Is your flow trigger 'When a response is submitted in Forms'?

    Can you share a screenshot from your trigger design?

     

    As a general suggestion since we do not have your Flow details, you can use the Date Time connector and convert the UTC time from forms to your timezone and then use that value in your Sharepoint "Create item" action block

    https://flow.microsoft.com/en-us/blog/working-with-dates-and-times/

     

    Please note 'Convert time zone' also offers Data Format maipulation options

    Flow_DateFormat.png

     

    Also as a general suggestion, formatDateTime() function can be used for Date format manipulations, as explained in this thread

    https://powerusers.microsoft.com/t5/General-Power-Automate/How-to-change-Flow-date-from-YYYY-DD-MM-to-DD-MM-YYYY/td-p/183106

     

    Thanx!

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492