Create an automation based on another automation?

Hi,

Recently i connected my HA with nabu casa cloud and i am using location feature in automation, when enter home zone, driveway gate opens,

Gate control box set to close the gate after 2 minutes as a safty if someone forgot to close it by remote,

Any idea to set an automation to close gates after 30s when it opens by zone automation only? Becaouse 2 minutes is long time