Skip to main content
Best answer

How to use sunrise and sunset as triggers

  • June 28, 2025
  • 4 replies
  • 50 views

  • Beginner
  • 1 reply

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. 

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
  • 208 replies
  • Answer
  • June 28, 2025

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
  • 1 reply
  • June 29, 2025

Thank you!


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 3527 replies
  • June 30, 2025

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
  • 58 replies
  • July 1, 2025

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.