I'd like to add a token to the email template to display date and time of meeting scheduled by sales agent.
I only found the token "Contact: Date of last meeting booked in meetings tool" , but it works only for the meeting scheduled through the meeting tool. It doesn't work when the meeting is manually scheduled by a sales agent.
Morevoer it doesn't display the time of the meeting, the date only.
Change the timeZone parameter (America/Chicago) in the code to the time zone to your preferred location.
Under the data outputs, define a new output Data Type = String, Name = meetingFormatted
Action: Copy Property Value
Property or value to copy from = custom code, meetingFormatted
Target property type = Contact
Property to copy "meetingFormatted" to = Meeting Time
Use "Meeting Time" property in your email. Keep in mind it does default to the set timezone set in the code and not the contacts timezone. The formatted time does include the timezone for reference, ie Thursday, June 10, 2021, 2:00 PM CDT
This is a great workaround and I'm trying to implement it. However, I've got this error which is basically "Unable to update property" even after following your steps.
I was thinking about how one might convert the meeting time to the contact's local time using the 'IP timezone' property.
I am admittedly out of my depth when it comes to modifying the brilliant snippit you dropped in up there, but thought I woukd mention it incase you wanted to noodle on cacluating the output based on that Contact property.
@sweas, It has potential! The format of IP timezone doesn't match the required format, but it's close enough that you could format america_slash_chicago to America/Chicago. There are some challenges to this method where it might not be correct. 1) VPN's 2) ISP location.
Unfortunately, my license doesn't include operation hub at the moment.
Anyway, I hope your code will help somebody else.
Just one thing for a better understanding, when you say "Trigger: Date of last meeting is known and enable re-enrollment" do you mean the "Date of last meeting booked in the meetings tool" property? If no, can you please clarify where I can find the property you mentioned?
I don't see a HubSpot-out-of-the-box solution for this but I want to tag some of our experts on this - @Josh@GeorgeBThomas@ndwilliams3 do you have any workarounds you can think of for @matteomont on this?
Hi! I'm searching for an out of the box solution to this problem myself - it seems a bit mad that inserting a timestamp in an email needs extra subscriptions and custom code. Grateful if you know about any solutions.