Skip to content

YiLiangChen/googleSheet_autoReply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

googleSheet_autoReply

About

簡單的 google app script,用於回信給填答 google 表單者
An simple google app script for replying email to who submit google form (for now only text)

Steps

step 1. 建立新的 google 表單 (Create a google form)

Google表單

step 2. 建立email欄位 (Create a email field)

可以使用以下兩種方式之一去新建email的欄位
choose a way to get a email field

  1. 在問題欄位中新增email的欄位
    create a field for email field
    1
  2. 在設定中選取 回覆 > 收集電子郵件地址
    select setting > reply > collect email address
    1-1
    1-1-1

step 3. 建立試算表 (Create a google sheet)

從表單中回覆部分的右上角點選「試算表圖示」建立試算表
in form,select sheet icon to create a google sheet
2

step 4. 指令碼編輯器 (Script editor)

從試算表中工具列選取 > 工具 > 指令碼編輯器
open google sheet,select tools from toolbar then open script editor
3

注意!! (notice!!)

程式碼中 getRange("B") 代表試算表中 B 欄位,所以請確認 B 欄是存放 mail 資訊的欄位,或調整程式碼為相應欄位
the code part getRange("B") means column "B" ; so make sure your column B in sheet is mail column or replace to another column alphabet

5

step 5. 修改程式碼 (Edit the code)

可貼上取代該段程式碼:範例 並儲存
can paste code from here:example and saved
4

step 6. 調整信件標題與內容 (Edit the email subject and body)

調整欲回覆信件標題與內容 (subject為信件標題,message為信件內容)
edit the email subject and body, ( at code part line 6 & 7 )
12

step 7. 觸發項目 (Triggering conditions)

點選左方工具列 > 觸發項目,新增觸發條件
select toolbar from left side ,click triggering conditions and add new trigger condition
6

step 8. 選擇觸發條件 (Select activate type)

選取活動類型為 「提交表單」時 select activate type : when submitting the form
7

step 9. 給予授權 (Provide authorization)

給予此指令碼相關授權以執行程式 Provide authorization for program execution 8

9

10

11


再次提醒 (Remind again)

注意:程式碼中 getRange("B") 代表試算表中 B 欄位,所以請確認 B 欄是存放 mail 資訊的欄位,或調整程式碼為相應欄位
notice: the code part getRange("B") means column "B" ; so make sure your column B in sheet is mail column or replace to another column alphabet
5

About

reply google sheet submitter for easy text type content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published