Only execute when two triggers are within a set time period apart

I don’t have much coding experience but would like to know if Pipedream has some built-in functions which could perform the following: I have two triggers, one is large forced liquidations and the other is a cumulative delta divergence signal. I only want to generate a buy/sell signal if any of the above mentioned conditions fall within 5min from one another. It does not matter which condition happens first but ultimately it will only allow a signal when both were true within any 5min duration? Thanks