Nov 30, 2020 3:21 AM - edited Nov 30, 2020 3:31 AM
I recently discovered this smart way to create and maintain a 'Today's date' property using workflows. This can then be used in reporting, workflows and lists.
To do this you can follow these steps:
1) Create a custom date field property
2) Create a contact-based workflow with the enrollment triggers 'Today's date is known' OR 'Today's date in unknown'.
3) Turn on re-enrollment for 'Today's date is known'.
4) Add an if/then branch action with the trigger 'Today's date is known'.
5) After the NO branch add the action 'set property value' and then set 'Today's date' to the 'date of step'.
6) After the YES branch add the the action 'set property value' and then set 'Today's date' to the 'date of step'.
7) The last steps after the YES branch will be a delay. To do this you will chose 'delay until a day or time' and then choose 00:15 or any other time after midnight.
This workflow will then work in the backround to always make sure each contact has today's date saved as the value on their record. The same can be repeated for company and deal properties.
Solved! Go to Solution.
May 19, 2022 4:00 AM
I tried a few of the options in this post to get a reliablew "Today's Date" property on my deals. I didn't have luck for a long time!
However, I finally found a reliable solution which is to create a Scheduled Workflow, rather than adding in a delay.
So before you create the workflow make sure you've chosen "Schedule" in the list.
And then this workflow worked for me:
Re-enrollment is on with all conditions.
It updates daily and doesnt seem to slow my account.
Hope it works for you!
Thanks
Duncan
Jul 15, 2022 12:50 PM
It really is so crazy that “Today’s Date” isn’t a native value available globally in HubSpot. The workflow outlined in this post is a great workaround though. I recorded a quick video of setting it up, which hopefully is helpful to folks.
I find myself reaching for Today’s date a lot in reporting and other workflows. Here's are a quick example use case of building a custom report to get visibility into onboarding activity.
Jan 23, 2023 7:27 PM
[Updated from my previous reply] Steal this workflow to dynamically set a Today’s Date property without Ops Hub.
We’ll create 2 properties and 2 workflows to workaround a tricky HubSpot limitation so you can use Today’s date in reporting and calculated properties. Eg. Days until renewal.
🚨 Why are we creating 2 workflows?
To keep our Today’s Date property up to date, we need to run the workflow on the same object at least once a day…
But…
HubSpot now prevents us from enrolling a company in a workflow from within the same workflow.
Here’s how our solution works:
PRE-WORK: Create 2 properties:
→ Today’s Date - Date picker
→ Today’s Date Updated - Single Checkbox
1. Create our first workflow triggered when:
→ Today’s Date Updated is None
→ Today’s Date Updated is Unknown
*Turn on re-enrollment for the trigger
2. Set a delay for a set amount of time
→ This could be anything from 1 minute to 12 hours.
3. Set the property value of “Today’s Date” to the time of the workflow.
4. Set the property value of “Today’s Date Updated” to “YES”.
→ We’ll use this as the trigger in workflow 2.
5. Copy the newly updated “Today’s Date” value to all associated Deals, Tickets, or Quotes.
→ You’ll need to add a corresponding “Today’s Date” property to each object you want to copy to but this way you don’t need additional workflows.
6. Clone your new workflow and make a few tweaks
→ Update the 2nd workflow to be triggered when “Today’s Date Updated” is equal to “Yes”
→ Update step 4 above to set the value of “Today’s Date Updated” to “NO” in the 2nd workflow
And we’re all done. Our property will be updated at the interval we set with the current date in our accounts default timezone.
Jan 23, 2023 5:09 PM
Who can clarify how to do this? I swear I've tried every solution in here, except for Operations. Is that the only way?
Please help.
Jan 23, 2023 7:09 PM
Jul 15, 2022 12:50 PM
It really is so crazy that “Today’s Date” isn’t a native value available globally in HubSpot. The workflow outlined in this post is a great workaround though. I recorded a quick video of setting it up, which hopefully is helpful to folks.
I find myself reaching for Today’s date a lot in reporting and other workflows. Here's are a quick example use case of building a custom report to get visibility into onboarding activity.
Jan 23, 2023 7:28 PM
[Updated Solution - January 2023] How to dynamically set a Today’s Date property without Ops Hub.
We’ll create 2 properties and 2 workflows to workaround a tricky HubSpot limitation so you can use Today’s date in reporting and calculated properties. Eg. Days until renewal.
🚨 Why are we creating 2 workflows?
To keep our Today’s Date property up to date, we need to run the workflow on the same object at least once a day…
But…
HubSpot now prevents us from enrolling a company in a workflow from within the same workflow.
Here’s how our solution works:
PRE-WORK: Create 2 properties:
→ Today’s Date - Date picker
→ Today’s Date Updated - Single Checkbox
1. Create our first workflow triggered when:
→ Today’s Date Updated is None
→ Today’s Date Updated is Unknown
*Turn on re-enrollment for the trigger
2. Set a delay for a set amount of time
→ This could be anything from 1 minute to 12 hours.
3. Set the property value of “Today’s Date” to the time of the workflow.
4. Set the property value of “Today’s Date Updated” to “YES”.
→ We’ll use this as the trigger in workflow 2.
5. Copy the newly updated “Today’s Date” value to all associated Deals, Tickets, or Quotes.
→ You’ll need to add a corresponding “Today’s Date” property to each object you want to copy to but this way you don’t need additional workflows.
6. Clone your new workflow and make a few tweaks
→ Update the 2nd workflow to be triggered when “Today’s Date Updated” is equal to “Yes”
→ Update step 4 above to set the value of “Today’s Date Updated” to “NO” in the 2nd workflow
And we’re all done. Our property will be updated at the interval we set with the current date in our accounts default timezone.
Jan 31, 2023 9:07 PM
@stuartbalcombe thank you so much for this updated solution. So far it's working great for us. Here's a screenshot of each of our two workflows in case these are helpful for anyone else.
Feb 1, 2023 8:04 AM
@boydjk88 thank you for sharing these screenshots.
Could you share how did you setup the scheduling for this workflows?
Thank you!
Feb 1, 2023 3:33 AM
You could combine those into one: trigger would be known, unknown; then a if-then for yes and no/unknown. Why the 1 minute delay?
Feb 1, 2023 7:29 PM
@JOpie Re: the 1 minute delay -- We've run into issues with our workflows where too many fields are being updated at the exact same moment and Hubspot can't recognize the "new" data fast enough. In this example, the workflow is first setting the "Today's Date" field on the contact, then copying that field to other associated objects. Without a delay, Hubspot might not have processed the updated date fast enough and therefore wouldn't copy any new data over in steps 5-7. So I always add short delays like that into most of our workflows just to err on the side of caution and give Hubspot enough time to process the new data that's being relied upon for later steps in the workflow.
Feb 2, 2023 3:12 AM
Absolutely makes sense. I have a workflow when deals enter our confirmation stage that has a 1 hour delay: that allows the deal owner to finalise that deal stage (we often have very complex deals) without having the workflow immediately triggered and actions taken that the sales manager didn't want done until all the dots and crosses were taken care of.
Feb 1, 2023 7:38 PM
Yeah, I started with a 1 minute delay in these scenarios. After a long history and a lot of frustration, I'm now defaulting to a 3 minute delay (and that doesn't even get us to 100%).
Jan 24, 2023 6:38 AM
Thanks for colaboration!
Could you send a screenshot or video of this workflows?
Thanks a lot!
Jan 3, 2023 1:56 AM
Hi there,
I can't figure out why but it doesn't work for me with deals.
Enrollmentt happens once and 'Today's date' is no longer updated. What's wrong?
Jan 3, 2023 12:33 PM
From what I can tell, this method no longer works unless you have Operations. . .
Sep 27, 2022 9:02 AM
That is mega @stuartbalcombe
Jul 26, 2022 4:49 AM
This is great! Thanks for sharing this video with us, @stuartbalcombe!
![]() | Did you know that the Community is available in other languages? Join regional conversations by changing your language settings ! |
May 19, 2022 4:00 AM
I tried a few of the options in this post to get a reliablew "Today's Date" property on my deals. I didn't have luck for a long time!
However, I finally found a reliable solution which is to create a Scheduled Workflow, rather than adding in a delay.
So before you create the workflow make sure you've chosen "Schedule" in the list.
And then this workflow worked for me:
Re-enrollment is on with all conditions.
It updates daily and doesnt seem to slow my account.
Hope it works for you!
Thanks
Duncan
Dec 30, 2022 4:05 PM
Is this method still working for you? Mine is note. The workflow is not re-enrolling the contact into the workflow because the "Today's Date" property becoming known happens while it is still in the workflow. Therefore, it does not trigger re-enrollment. Did something change or have any of you found a workaround for this?
Jul 25, 2022 8:14 PM
Thanks for providing this alternative solution @DColeman7. I just wanted to post for others reading this that I don't believe a scheduled workflow like this would be an option if you don't have Operations Hub Professional.
Jul 15, 2022 3:20 PM
Thanks @DColeman7. Any reason why the delay wasn't working?