简体   繁体   English

谷歌脚本在 email 确认后运行

[英]Google script run after email confirmation

In this case, I don't have a code or screenshots to share because I honestly don't know how to even start it:) We have a spreadsheet (Google Sheets) which have numerous scripts built into it.在这种情况下,我没有要分享的代码或屏幕截图,因为老实说,我什至不知道如何启动它:) 我们有一个电子表格(Google 表格),其中内置了许多脚本。 They run mainly based on form submission and don't require any further confirmation after a form is submitted.它们主要基于表单提交运行,并且在提交表单后不需要任何进一步的确认。 For this new form we wish to implement, we would like to script to run only after a user has confirmed via email.对于我们希望实现的这个新表单,我们希望脚本仅在用户通过 email 确认后运行。 Here's the rundown:这是纲要:

  1. User A (normally from the administration department) will input data into a form.用户 A(通常来自管理部门)将数据输入到表单中。
  2. Once form is submitted, this data will be sent to another user (User B) for confirmation.提交表单后,此数据将发送给另一个用户(用户 B)进行确认。 We would like this process to happen over email, and not directly via Google Sheets prompt.我们希望这个过程发生在 email 上,而不是直接通过 Google 表格提示。
  3. Once User B confirmed data is good, a script will run to compile the data and perform several actions on it.一旦用户 B 确认数据是好的,就会运行一个脚本来编译数据并对其执行一些操作。

No problem to send an email via script but how do we include a confirmation button/link to it and how do we capture this clink to continue the compiling of this data?通过脚本发送 email 没有问题,但是我们如何包含一个确认按钮/链接到它,我们如何捕获这个叮当声以继续编译这些数据?

Thanks:)谢谢:)

  1. User A Enters data into Form and Presses Submit用户 A 在表单中输入数据并按下提交
  2. FormSubmit Script recovers data and sends email to user B FormSubmit Script 恢复数据并将 email 发送给用户 B
  3. User B reviews data and Presses a link on the email which sends a request via a web app to complete the transaction at a later time.用户 B 查看数据并按下 email 上的链接,该链接通过 web 应用程序发送请求以稍后完成交易。

You can probably customize the webapp link with query string parameters so that the transaction can be completed without any further interaction but it will probably take a couple of days of programming to complete and test the job.您可能可以使用查询字符串参数自定义 webapp 链接,以便无需任何进一步交互即可完成事务,但可能需要几天的编程才能完成和测试工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM