WORKFLOW ACTION
Age
Calculator
The Age Calculator workflow action in PocketKnife is a powerful tool designed to compute the age, either in years or days, based on a specified date property. This feature can be applied to contacts, companies, deals, tickets and custom objects within the HubSpot platform. Here's a deeper look into its capabilities and some practical use cases:
Key Functionality
The Age Calculator workflow action is engineered to determine the age of a specific entity by utilizing a date property as the reference point. This action allows you to choose whether you want the age to be calculated in years or days, giving you flexibility in how you analyze and categorize your data. The result is stored in a number property, ready to use in workflows, lists and reports.

Use Cases
-
Person's Age: For contacts, you can use the Age Calculator action to compute their exact age based on their birthdate. This information can be beneficial for targeted marketing campaigns, customized content delivery, or age-based segmentation.
-
Contract Duration: In the case of deals or contracts, you can leverage this feature to calculate the duration in terms of days or years. This provides insights into the lifecycle of deals, helping you identify trends and optimize your sales strategies accordingly.
-
Company History: If your CRM tracks company establishment dates, you can use the Age Calculator feature to gauge the longevity of your business relationships, helping you prioritize long-standing clients.
-
Subscription Duration: In scenarios involving subscriptions or renewals, this action can provide you with the duration of a subscription period, aiding in tracking and managing subscription-based business models.
-
Project Progress: For projects managed within deals, you can measure the time a project has been in progress, helping you monitor timelines and allocate resources more effectively.
-
Event Participation: If you use date properties to track events attended by contacts or companies, this action can help you analyze attendance history and tailor future event invitations accordingly.
- Product Usage: In a SaaS environment, you can calculate how long a user has been using your product since their signup date, offering insights into user engagement and potential upsell opportunities.
Practical example
Calculate the age of your contacts based on their birthday, and keep it up to date. A first workflow calculates the age as soon as the birthday is known, and again whenever it changes. A second workflow recalculates the age every year. Store the result in a number property, such as Age, and use it to segment your contacts or trigger age-based campaigns.
Want to get started? Follow our step-by-step guide in the knowledge base.
Unlock the Ideal HubSpot Enhancements
Choose Your PocketKnife Package
Discover the perfect PocketKnife package for your needs! With three distinct packages, each tailored to different user requirements, you can unlock the ideal set of HubSpot enhancements. Enhance your platform experience and boost productivity by selecting the app package that aligns with your goals.