Hello, can anyone suggest how to create a filter where {date) is equal 2 days from today. The {date} is from Airtable and it is a lookup field.
This will send email to client 2 days after the service was provided.
Thank you for help
Hello, can anyone suggest how to create a filter where {date) is equal 2 days from today. The {date} is from Airtable and it is a lookup field.
This will send email to client 2 days after the service was provided.
Thank you for help
Best answer by kuovonne
Thank you for explaining that you are using Integromat. I thought you were using the Standard REST API because this is posted in the API section of the forums.
If you want Integromat to process records 2 days after the “Check-out” date, and “Check-out” is a date field in your table, you need to have Integromat look for “Check-out” dates that occured 2 days before the current date.
Your Integromat formula to add days is adding 2 days to “now”, which will result in a date that is two days after today. For example, today is June 2. The addDays(now;2)
function will add two days to June 2, and come up with June 4. However, you really want to process a record that was check out two days ago on May 31. To fix this, try subtracting 2 days. (You may need to add a negative 2 instead of subtracting.)
You may also have some difficulty with comparing dates because the you are testing the “Check-out” value (which is probably a date/time object with a time) against a text string that has no time.
I suggest you calculate the difference between the two dates (“check-out” and now) and see if the difference is what you want. Here is the documentation for Integromat’s date/time functions.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.