practice location website macro for sms template

Hi,

Is there a way to set up a macro for the practice location website? We have one set Appointment Reminder SMS template for all departments and practice locations, however I need the sms to include a different websites.

What we have is:

concat('We look forward to seeing you with ', expr:if(expr:var('patient.name') != '', concat(expr:var('patient.name'), ''), 'your pet'),
                     ' at ',$location.name,' on ', date:formatDate($appointment.startTime, 'short'),
                     ' @ ', date:formatTime($appointment.startTime, 'short'),'. ',
                     '
Please visit: www.advancedvetcare.com.au/covid-19/
')

 

I'd like the last line to be something like:

Please visit: ',$location.name.website,'/covid-19/

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: practice location website macro for sms template

Sure. Each practice location needs its own Website contact, and then you can use:

concat('We look forward to seeing you with ', expr:if(expr:var('patient.name') != '', concat(expr:var('patient.name'), ''), 'your pet'),
                     ' at ',$location.name,' on ', date:formatDate($appointment.startTime, 'short'),
                     ' @ ', date:formatTime($appointment.startTime, 'short'),'. ',
                     '
Please visit: ', party:getWebsite($location), '/covid-19')

 

 

Re: practice location website macro for sms template

Thanks so much Tim

Syndicate content