[英]How to add a Google Doc link on an existing script
So I found this helpful template script to create an automating help desk workflow. 因此,我找到了这个有用的模板脚本来创建自动化的帮助台工作流程。 User fills out the form and they automatically receive an email with the message "Thanks for submitting your issue. \\n\\nWe'll start " + "working on it as soon as possible.
用户填写表单后,他们会自动收到一封电子邮件,其中包含“感谢您提交问题。\\ n \\ n我们将尽快开始“ +”工作。
function formSubmitReply(e) {
var userEmail = e.values[3];
MailApp.sendEmail(userEmail,
"Help Desk Ticket",
"Thanks for submitting your issue. \n\nWe'll start " +
"working on it as soon as possible. \n\nHelp Desk",
{name:"Help Desk"});
All I want to do is add clickable link to our procedure Google Doc page to the that message. 我要做的就是将指向我们过程Google文档页面的可点击链接添加到该消息。 I just learning the basics of scripting and just need a little jump start on this.
我只是学习了脚本编写的基础知识,只需要对此稍作改动即可。
You can add a clickable link like this: 您可以添加如下所示的可点击链接:
function formSubmitReply(e) { 函数formSubmitReply(e){
var userEmail = e.values[3]; var userEmail = e.values [3];
MailApp.sendEmail(userEmail, MailApp.sendEmail(userEmail,
"Help Desk Ticket", “帮助台票”,
"Thanks for submitting your issue. \\n\\nWe'll start " + “感谢您提交问题。\\ n \\ n我们将开始” +
"working on it as soon as possible. \\n\\nHelp Desk" +""+Click here+"", “尽快进行处理。\\ n \\ n服务台” +“” +单击此处+“”,
{name:"Help Desk"}); {name:“帮助台”});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.