CRM

maulpaurer
メンバー

Today's Date Property

解決

Hello, 

I want to create a "Today's Date" Property, that changes everyday, corresponding to the date of today. 

 

I found some solutions that were created 3 years ago and don`t work anymore. 
Is there a solution that is working at the moment? 

Thanks in advance! 

0 いいね!
1件の承認済みベストアンサー
karstenkoehler
解決策
殿堂入り | Solutions Partner
殿堂入り | Solutions Partner

Today's Date Property

解決

Hi @maulpaurer,

 

Which HubSpot subscription's do you have? The only reliable solution, in my opinion, requires Operations Hub Professional.

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

元の投稿で解決策を見る

5件の返信
DStaat
参加者

Today's Date Property

解決

Hey @maulpaurer,

There's an app called Tick Tock Today that would accomplish this for you! You can select an object type(s) to have the today's date property added to. It will update the property on each record of the type you select daily.

DStaat_0-1707336500291.png


Let me know if you have any questions!

Best,

-David Staat

0 いいね!
karstenkoehler
解決策
殿堂入り | Solutions Partner
殿堂入り | Solutions Partner

Today's Date Property

解決

Hi @maulpaurer,

 

Which HubSpot subscription's do you have? The only reliable solution, in my opinion, requires Operations Hub Professional.

Karsten Köhler
HubSpot Freelancer | RevOps & CRM Consultant | Community Hall of Famer

Beratungstermin mit Karsten vereinbaren

 

Did my post help answer your query? Help the community by marking it as a solution.

maulpaurer
メンバー

Today's Date Property

解決

Thanks for the quick answer! 
I am on Sales Hub Enterprise

0 いいね!
SDrattell
参加者

Today's Date Property

解決

you can use a workflow with a custom python code

 

import os
from datetime import datetime
from hubspot import HubSpot
from hubspot.crm.contacts import ApiException

def main(event):
# Get today's date
today = datetime.today().strftime('%Y-%m-%dT%H:%M:%S') # Format as ISO 8601 datetime string

# Return data that can be used in later actions
return {
"outputFields": {
"today": today
}
}

# Lambda handler function
def hubspot_handler(event, context):
try:
# Call the main function
result = main(event)
return result
except Exception as e:
print(f"Error invoking main function: {e}")
raise

# Optional: Test the handler locally
if __name__ == "__main__":
event = {
"object": {"objectId": "12345"},
"inputFields": {}
}
context = {}
print(hubspot_handler(event, context))


 

then make sure to add "today" as an output

 

you can use this action output and update a custom property or whatever you want.

0 いいね!
DanaIrvine
投稿者

Today's Date Property

解決

Python isn't even needed, I just set this up.

JIrvine1_0-1720640564039.png

 

0 いいね!