cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Beulmoto
Frequent Visitor

Google Drive Trigger Workaround

I'm looking for a workaround to create a google drive trigger.

 

I had the following idea, but not sure if it's feasible.

 

  1. Starting with a recurrence every 15 minutes
  2. Get file metadata using path from google drive
  3. Add conditional step using an expression saying if last modified time is less than 15 minutes ago to perform an action, otherwise terminate the flow (And this is the part that I'm having trouble with)

I think that something could be done using a formula with a date an time function that outputs a boolean value, but I haven't come up with anything that works yet.

 

I presume that google drive triggers will eventually be offered, and saw a few request in uservoice that I voted for.

 

I'm wondering if anyone has landed on something similar.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Google Drive Trigger Workaround

Hi @Beulmoto ,

 

You could organize the ideas and specific scenarios you need for Google Drive and submit them to the Idea forum, which is easier to follow and adopt.

We would also recommend more users to vote on this idea.

 

Also, regarding your idea, it seems that we can rely on the current feature to configure a similar Flow.

I have created a similar Flow according to your description here, you could use it as a reference.

Expression reference:

formatDateTime(body('Get_file_metadata_using_path')?['LastModified'],'yyyy-MM-ddTHH:mm:ssZ')
addMinutes(utcNow(),-15)

Image reference:20.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Re: Google Drive Trigger Workaround

Hi @Beulmoto ,

 

You could organize the ideas and specific scenarios you need for Google Drive and submit them to the Idea forum, which is easier to follow and adopt.

We would also recommend more users to vote on this idea.

 

Also, regarding your idea, it seems that we can rely on the current feature to configure a similar Flow.

I have created a similar Flow according to your description here, you could use it as a reference.

Expression reference:

formatDateTime(body('Get_file_metadata_using_path')?['LastModified'],'yyyy-MM-ddTHH:mm:ssZ')
addMinutes(utcNow(),-15)

Image reference:20.PNG

 

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,239)