Skip to main content
Best answer

How to use sunrise and sunset as triggers

  • Jun 28, 2025 10:31 PM UTC
  • 4 replies
  • 117 views

How would I make sunrise/sunset as triggers?

Best answer by DavidLGS

The fastest and easiest way is to trigger the zap on a schedule, like 12:01am.

Then insert an AI step and ask it to output the sunrise and sunset today.

After that, add a Paths step with two paths set to always run. On path A, add a delay step to “delay until” the sunrise given by AI. On Path B, do the same but for sunset. 

View original
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

DavidLGS
Forum|alt.badge.img+6
  • Zapier Solution Partner
  • Answer
  • Jun 28, 2025 10:43 PM UTC

The fastest and easiest way is to trigger the zap on a schedule, like 12:01am.

Then insert an AI step and ask it to output the sunrise and sunset today.

After that, add a Paths step with two paths set to always run. On path A, add a delay step to “delay until” the sunrise given by AI. On Path B, do the same but for sunset. 


  • Author
  • Beginner
  • Jun 29, 2025 8:10 PM UTC

Thank you!


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • Jun 30, 2025 4:51 AM UTC

Hi ​@GSK,
 
We just wanted to see how everything is going with your Zap. Did David’s recommendation get the job done? Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


Forum|alt.badge.img+2
  • Beginner
  • Jul 1, 2025 7:46 AM UTC

To trigger a Zap at sunrise or sunset, set the Zap to run daily (e.g., 12:01 AM). Use an AI step to fetch that day's sunrise/sunset times, then add a Paths step with two branches: one delays until sunrise, and the other delays until sunset. This way, your automation can run specific actions exactly at those times each day.