Automatically Calculate and Update a Contact’s Age from Date of Birth
A
Anthony Politi
Please add the ability to use a Custom Code action's Reference Output as a Dynamic Value in the Update Contact Field workflow action.
My use case is very simple: I have a contact's Date of Birth stored in HighLevel. A Custom Code action calculates the person's current age and successfully returns an output such as age: 61. I then need the next Update Contact Field action to write that calculated value into my custom contact field called “Age.”
Currently, the Update Contact Field value picker does not expose the Custom Code Reference Output, so there is no supported way to map the calculated age output into the Age contact field.
Ideally, the workflow should allow:
Date of Birth → Custom Code calculates current age → Reference Output “age” → Update Contact Field “Age”
This would also be useful for many other workflows where Custom Code performs a calculation and the resulting value needs to be stored permanently on the contact record.
HighLevel Support confirmed this limitation under Ticket #6010524.
Log In
C
Cheryl Condon
you could create a workflow with a math operation to update the custom age field..that's what i did as a work around
R
Richard Bertrand
this same code output could be used to send out pre-scheduled birthday greetings to clients and a similar date code calculation could also be used to automate holiday greetings. I find it hard to believe this hasn't already been done as it can be a useful tool that is already incorporated in other CRM programs Please advise