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 / JSON API Result: HOWTO...
Power Automate
Unanswered

JSON API Result: HOWTO Extract / Process the results ?

(0) ShareShare
ReportReport
Posted on by


Hi everyone,

I have a JSON API. I can query it, filter on data, make textual search etc...
The answer is a list of results in an json array.

Can I with MS Flow, have a periodic check, given a specific query (ex: theme:energy, location:Paris), and check if there is new results for my query ?

ie. getting the list of results, and checking if there is new results since the last time ?

If it's not an out of the box feature, I also have timestamps for my record, I can query : result_timestamp > "last time I checked" but for this I need to store a status of the periodic queries...


Then, if there is new results, trigger a notification, an action, an email, an SMS or whatever...

I can really simply do it with Zappier, and as I heard that Microsoft Flow is the same kind of tool, I'm trying without luck for the moment.


Help appreciated 😄

Thanks !

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi FpassX,

     

    Please consider to use trigger “Recurrence” in your flow. Recurrence can trigger a flow at regular. You could adjust the Frequency and Interval according to your needs.

    4.PNG

     

    About checking if there is new result since the last time, please consider to add a Condition in your flow. About how to add a condition in your flow, please see this doc for more details:
    https://flow.microsoft.com/en-us/documentation/add-a-condition/

     

    After the condition, you could add actions to send an email, send a push notification, etc.

     

    Please try it on your side and feel free reply if you need more help.

     

    Best regards,
    Mabel Mao

  • Community member Profile Picture
    on at

    Hi

     

    Thanks for sharing your feedback!

    This is something that we want to make easy.  Currently, I dont believe we are quite there yet.

     

    Your scenario is akin to what we call a polling trigger.  The polling trigger works by checking an API endpoint for new data.  In fact, many of our built-in triggers work that way.  The challenge for us has been to keep track of the "timestamp" marker.  We have recently rolled out the support for defining polling triggers.  It has some limitations but I think it should work for your scenario - esp since you contol the backend API as well.

     

    We dont have a blog post/doc on it yet.  But this is how it works:

    > Your API has a query parameter which can be used to check for new data AND it MUST be a timestamp (date-time)

    > Your API response will typically be an array (or an object with an array) of objects that you want to return.  One of the property MUST be a timestamp that can be used to specify the value of the query parameter

     

    This is how the screen looks:

     

    image.png

     

    And this is where you can configure your query parameter and the value you need to use for that query parameter.

     

    image.png

     

    Thanks!
    Sameer

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard