How to create a Google Calendar link:

You can simply create a Google Calendar link that you can use in your email templates. For example with CxScript like this:

<a target="blank" title="Add this meeting to your Google Calendar »"
href="https://calendar.google.com/calendar/r/eventedit?dates=
<cx:Write value='$activity.toPreviousToDo.startTime' dateformat='%Y%m%dT%H%M00' />/
<cx:Write value='$activity.toPreviousToDo.endTime' dateformat='%Y%m%dT%H%M00' />
&text=Meeting at &location=<cx:Write value='$activity.toPreviousToDo.location'/>
&details=Meeting with
<cx:write value='$activity.toPreviousToDo.owner.firstName' />
<cx:write value='$activity.toPreviousToDo.owner.lastNamePrefix' />
<cx:write value='$activity.toPreviousToDo.owner.lastName' />
(<a href=%22mailto:<cx:write value='$activity.toPreviousToDo.owner.emailAddressBusiness' />%22>
<cx:write value='$activity.toPreviousToDo.owner.emailAddressBusiness' /></a>)
Mobile: <cx:write value='$activity.toPreviousToDo.owner.mobileNumberBusiness' />">
Add this meeting to your Google Calendar »</a>

The above code will generate a link, so be aware that you might have to encode certain characters when you want to add more Cxscript or Html in the title (text=) or description (details=).

De generated link will look something like this:

https://calendar.google.com/calendar/u/0/r/eventedit?dates=20210101T1100/20210101T113000&text=Meeting online&location=meet.google.com/abc-defg-hij&details=Meeting+with+Eva+Nova+(%3Ca+href%3D%22mailto:eva@example.com%22%3Eeva@carerix.com%3C/a%3E)%3CBR+/%3EMobile:+06+12+34+56+78

Did this answer your question?