Create Today's Date
Last updated
Last updated
This guide demonstrates how to create a date field in HubSpot that automatically updates with the current date. This can be useful for various purposes, such as tracking the date of a customer's last interaction or generating reports based on the current date.
HubSpot account with access to create custom fields and automations
In your HubSpot account, navigate to Settings > Objects > Contacts.
Click the Create Field button.
In the Field Type dropdown, select Date.
Enter a Field Label (e.g., "Today's Date").
Click Save.
Navigate to Automation > Workflows.
Click the Create Workflow button.
Select Contact-based as the workflow type.
In the Trigger section, select Schedule and set the Frequency to Daily.
In the Criteria section, add two conditions:
Field is Today's Date
Value is is not known
In the Actions section, add a Set Property action:
Property is Today's Date
Value is Date of Step
Click Save & Publish.
The automation will now run daily and update the "Today's Date" field with the current date for all contacts that meet the criteria. You can use this field in various ways, such as creating lists, filtering contacts, or triggering other automations based on the current date.