Question

How to filter my trigger based on today's date?

  • 16 March 2022
  • 4 replies
  • 1546 views

Userlevel 1

I am trying to filter my trigger so that it is ONLY firing when the date field matches today’s date. Below is what I have started with for my filter:

 

Is there a way to enter a dynamic variable into this, that is always having this reference today’s date? Something like {{date:today}}? Or does anyone have a suggestion for a way that I can go about accomplishing this?


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

Userlevel 7
Badge +14

Hi @Andrew Booth 

Good question.

 

The Filter right side condition value can be dynamic:

 

Check out these related topics:

 

Userlevel 1

Thanks @Troy Tessalone for the quick reply! I’m having a hard time with those topics you referenced, and had previously reviewed them.

You say that there are dynamic values that can be entered, but I don’t see any on those topics you linked? Is there really not a simple function to enter to tell it to enter today’s date? It’s looking like I need to create a couple of additional steps to create “today’s date”, and use that as a reference point, but that seems like I am overcomplicating this.

Userlevel 7
Badge +14

@Andrew Booth 

Here’s a help article about how to use dynamic timestamp variables: https://zapier.com/help/create/customize/insert-the-time-your-zap-runs-into-a-field

NOTE: You may need to first use a Formatter step to get the Date into the right format for the Filter to interpret in the comparison condition:

 

This topic has a step by step answer marked for one approach using a spreadsheet style formula:

https://community.zapier.com/code%2Dwebhooks%2D52/filter%2Dwith%2Dthe%2Drelative%2Ddate%2D7167

Userlevel 1

Thanks for the help!