Hi everyoneđ
Iâm running into an issue with a formula-generated URL in my email automation. The goal is to create a clickable Google Calendar invite link based on date columns in my table (e.g., {Wanneer} for start time and {Opruimen} for end time), and include some predefined body text.
Hereâs the formula Iâm using in a {URL} column:
"https://calendar.google.com/calendar/render?action=TEMPLATE&text=" & substitute({Ruimte} & " with " & {Wanneer}, " ", "%20") & "&dates=" &
(year(dateAdd({Wanneer}, -1, "hours")) & if(month(dateAdd({Wanneer}, -1, "hours"))<10,"0","") & month(dateAdd({Wanneer}, -1, "hours")) & if(day(dateAdd({Wanneer}, -1, "hours"))<10,"0","") & day(dateAdd({Wanneer}, -1, "hours")) & "T" & if(hour(dateAdd({Wanneer}, -1, "hours"))<10,"0","") & hour(dateAdd({Wanneer}, -1, "hours")) & if(minute(dateAdd({Wanneer}, -1, "hours"))<10,"0","") & minute(dateAdd({Wanneer}, -1, "hours")) & "00Z") &
"/" &
(year(dateAdd({Opruimen}, -1, "hours")) & if(month(dateAdd({Opruimen}, -1, "hours"))<10,"0","") & month(dateAdd({Opruimen}, -1, "hours")) & if(day(dateAdd({Opruimen}, -1, "hours"))<10,"0","") & day(dateAdd({Opruimen}, -1, "hours")) & "T" & if(hour(dateAdd({Opruimen}, -1, "hours"))<10,"0","") & hour(dateAdd({Opruimen}, -1, "hours")) & if(minute(dateAdd({Opruimen}, -1, "hours"))<10,"0","") & minute(dateAdd({Opruimen}, -1, "hours")) & "00Z") &
"&details=" & substitute(substitute({BodyText}, "\n", "%0A"), " ", "%20") & "&location=&ctz=Europe/Amsterdam"
This builds a working Google Calendar template URL with encoded title, start/end times (adjusted back 1 hour), and details from {BodyText}.
https://calendar.google.com/calendar/render?action=TEMPLATE&text=Aula%20Bovenbouw%20with%2007/10/2025%2015:00&dates=20251007T140000Z/20251007T160000Z&details=Beeld%20op%20de%20beamer:%20Ja%0AGeluid%20vanuit%20de%20laptop:%20Nee%0AMicrofoon:%202%0AHeadset:%20Nee%0AWensen:%20%0AKlaarstaan%20vanaf:%2007/10/2025%2015:00%0AOpruimen%20vanaf:%2007/10/2025%2017:00&location=&ctz=Europe/Amsterdam
I have a mail automation triggered when a single-select column is set to âGoedgekeurdâ The email template includes the {URL} field.
The {URL} doesnât appear in the received email at all. No link, no text, just blank where it should be.
Any ideas on why this might be happening? Is there a length limit on URLs in automations, or something with special characters/encoding? Maybe a workaround like shortening the formula or using a different approach?