What variables are available in Quick Messages?

roshanrao
Kilo Expert

Hello,

I know similar questions have been asked before and I know scripting is not allowed in QMs.

Besides the current record, are there ANY variables available inside Quick Messages? I have the requirement to include a reply link in the email. It is a simple mailto anchor. But it seems I would have to either hard code the replyTo email or inconvenience the user by providing instructions (click reply, paste this subject, etc.).

It would be super handy if things like instance URL (to construct links) and reply to email IDs were available.

Any thoughts?

Thanks

Roshan

4 REPLIES 4

Kalaiarasan Pus
Giga Sage

On the body field, click on the source code icon and add the below html to page



<a href="mailto:someone@yoursite.com?cc=someoneelse@theirsite.com, another@thatsite.com, me@mysite.com&amp;bcc=lastperson@theirsite.com&amp;subject=Big%20News&amp;body=Body-goes-here">Email Us</a>



This has cc, to address, bcc, subject and mail body.


Hi Kalai - I understand how to create a mailto URL. The question though is different.


I want to create URLs (mail or http) in Quick Messages, where the target is based on the instance WITHOUT hardcoding. E.g., HTTP base URL to host or mail link based on instance's mail ID.


The point here is that the only variables that are seemingly available in the QMs are fields on the current record, which I find very limiting. So, I am making sure that I have not overlooked an option.



Thanks


anindya_11
Giga Contributor

Hi Roshan,



did you find the solution? I have similar requirement where I need to change the instance URL dynamically through Dev, QA, Test, and Prod. Now I can get the instance name from system properties. but I am not able to write any script or change the source code(as I cant find how to change and save the source code) in HTML body.



Thanks


Hi Anindya,


We ended up changing the solution to not using QMs. Instead, the record had a field in which the agent could type in custom responses that then got included in the notification. I don't like it. This is such a basic feature that should exist in the email client.



- R