Automation with pre step to call HTTP request

Hi,

I am new to Home Assistant but have been running openHAB for several years. Now I am trying to migrate.

I have an Automation that turns on outdoor lights at sunset.
Before that happens I would like to make a call to HTTP endpoint to disable change in video detection for 10 sec which I have implemented in NodeRED.

How can I call a HTTP GET endpoint before turning the light on/off?

HA allows multiple actions per automation. See the action section of the automation doc.