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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need help getting ODAT...
Power Automate
Unanswered

Need help getting ODATA filter for excel to email power automate chain

(0) ShareShare
ReportReport
Posted on by 12

I am currently trying to power automate when a file in excel gets edited on a specific column (which has data validation for 2 words: Approved/Denied) to send an email out.  Currently my flow sends an email out whenever ANYTHING is edited on the document.  I need help with what to put into the ODATA filter query in order to only send email when that column is edited.

Below is a picture of my current flow.

DANIELMITCHELL_1-1639686638163.png

 

 

 

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    @DANIELMITCHELL 

    So currently there is no trigger on the excel connector where it can be triggered on update or Modified , The filter query on the List Rows Just get the rows with a specific Filter, so I suggest to use SharePoint list instead for this purpose and then you can trigger it on the change of the field being modified.

     

  • DANIELMITCHELL Profile Picture
    12 on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    Thanks for the reply! What flow do you recommend? 

    I have a form that pushes to this excel sheet.  I added a column for approved/denied and want an email based on form responses based on that row to send once that rows cell has been updated. 

  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    @DANIELMITCHELL 

    So can I understand more:

    You have a Microsoft form that you use to collect responses into the Excel Sheet is that correct?

    And then you want to send a consolidated email based on the responses?

     

     

  • DANIELMITCHELL Profile Picture
    12 on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    Yes, I have a Microsoft Form that dumps to excel.

    I added a column to the table below for Approved and Denied and used data validation to limit responses.

    DANIELMITCHELL_0-1639691580055.png

    I want an email to be sent out using form responses once that cell has been modified.

    DANIELMITCHELL_1-1639691650210.png

    The way I have it now sends based on any change to the document. But, I only want it to send if that rows cell for approved gets modified.  And the email only be referencing that rows form responses.

  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    @DANIELMITCHELL 

    What do you use as a trigger for the for your flow that sends email is it a scheduled that runs daily checks the excel ?

    I tried with Filter Query and it did not work but the below approach worked to get only rows with the Approve Or Denied Column with data 

    Mira_Ghaly_0-1639693248988.png

    Let me know if you need further help!

     

     

  • DANIELMITCHELL Profile Picture
    12 on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    DANIELMITCHELL_0-1639694275993.png

    this is my trigger.  I couldn't find something that related directly to my excel file.

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    @DANIELMITCHELL 

    You need to use the output of the filter Query in CREATE HTML Table action as below and use the output from this step directly in your email

    Mira_Ghaly_0-1639694811833.png

     

  • DANIELMITCHELL Profile Picture
    12 on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    Ok updated the next step but it added an apply to each around the email.  Which choice do I enter for output?

    DANIELMITCHELL_0-1639696218628.png

     

  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    @DANIELMITCHELL 

    You need to pass the output from the Create HTML Table directly in the email body not through an apply to each , it is all dependent on which other values you are referencing.

  • DANIELMITCHELL Profile Picture
    12 on at
    Re: Need help getting ODATA filter for excel to email power automate chain

    Every time I try to reference the data from excel in the body of the email it adds an apply to each step automatically.  I'm trying to get the email set without adding the apply to each step.  When that gets added i get sent an email for each line of the excel sheet not just the one line I'm editing  What does the HTML table step do for the body of the email? What is the data in the output of the HTML table? 

     

    DANIELMITCHELL_0-1639769055989.png

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard