Solved

directory watch: run the automation during the night

  • 12 April 2023
  • 1 reply
  • 3 views

Badge +6
  • Contributor
  • 53 replies

I would like my automation to watch a directory. If there's a update, then the rest of the automation runs, but only during the night.

I could use a directory watch trigger to run the automation immediately after a change, or use the schedule-trigger to run the automation during the night, but how can I combine those triggers?

Thanks, Vera

icon

Best answer by redgeographics 12 April 2023, 16:56

View original

1 reply

Userlevel 5
Badge +25

I think you should use two automations. The first one on a schedule that then runs a workspace that uses a Rest API call to enable/disable the second automation, which is the one with the directory watch.

Reply