Loading...

Mastering HubSpot API: How to Format & Update Dates using Worklfow Custom Coded Action – Automation

🔥 How to Format & Update Dates in HubSpot (Step-by-Step Tutorial) 🔥 In this video, I’ll show you how to format and update dates in HubSpot—specifically, moving a formatted date from a string property into a dedicated date property field.

📌 What You’ll Learn: ✅ Extracting a date from a string property

✅ Converting the extracted date into the correct format

✅ Updating a date property field with the new value

✅ Basic validation to ensure smooth execution

⏱️ Timestamps: 0:00 – Intro & Overview

0:08 – Setting up the date formatting process

0:28 – Moving a date from a string to a date property

1:06 – Extracting the date using JavaScript

3:12 – Trimming & processing the date value

5:17 – Converting the date to milliseconds

6:20 – Updating the date property in HubSpot

7:23 – Adding validation (bonus tip!)

🔧 Useful for: Cleaning up database properties Migrating string-based dates to proper date fields Automating date formatting in HubSpot

💡 Pro Tip: You can use custom-coded actions or HubSpot’s built-in formatting modules for more advanced use cases!

👍 Enjoyed the tutorial? Hit the Like button and Subscribe for more HubSpot & automation tips! Need help? Ping me on LinkedIn   / bachot-mpunga-bashala-b834191b   SUBSCRIBE for more insights:    / @bachotmpungabashala  

Leave your comment