Google Forms 편집기 부가기능 빠른 시작
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 빠른 시작에서는 트리거를 사용하여 사용자가 양식에 응답할 때 이메일을 보내는 Google Forms 편집기 부가기능을 만듭니다.
목표
- 스크립트를 설정합니다.
- 스크립트를 실행합니다.
기본 요건
이 샘플을 사용하려면 다음 기본 요건이 필요합니다.
- Google 계정 (Google Workspace 계정의 경우 관리자 승인이 필요할 수 있음)
- 인터넷에 액세스할 수 있는 웹브라우저
스크립트 설정
- forms.new에서 Google Forms 양식을 만듭니다.
- 더보기 more_vert
> 스크립트 편집기를 클릭합니다.
- 제목 없는 프로젝트를 클릭합니다.
- Apps Script 프로젝트의 이름을 Forms notifications로 바꾸고 이름 바꾸기를 클릭합니다.
- 파일 추가 add
> HTML을 클릭합니다. 파일 이름을
sidebar
로 지정합니다.
- 5단계를 반복하여
about
,
authorizationEmail
, creatorNotification
, respondentNotification
라는 HTML 파일을 4개 더 만듭니다.
완료되면 스크립트 파일 1개와 HTML 파일 5개가 있어야 합니다.
각 파일의 내용을 다음 해당 코드로 바꾼 후 저장
을 클릭합니다.
respondentNotification.html
스크립트 실행
- 양식으로 다시 전환하고 페이지를 새로고침합니다.
- 양식에 단답형 텍스트 질문을 추가합니다. 제목 없는 질문에 이메일 주소를 입력합니다. 원하는 경우 다른 양식 질문을 만들 수 있습니다.
- 부가기능 extension
> 양식 알림을 클릭합니다. 부가기능 extension이 표시되는 데 몇 초 정도 걸릴 수 있습니다.
- 대화상자에서 알림 구성을 클릭합니다.
- 메시지가 표시되면 부가기능을 승인합니다.
- 다시 부가기능 extension
> 양식 알림
> 알림 구성을 클릭합니다.
- 부가기능에서 알림 받기 체크박스를 선택하고 이메일 주소를 입력합니다.
- 다음 시간마다 알림 보내기에 1을 입력합니다.
- 저장을 클릭합니다.
- 답변을 제출하려면 미리보기 visibility를 클릭합니다.
- 양식을 작성한 후 제출을 클릭합니다.
- 이메일에서 알림을 확인하세요.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis Google Forms add-on automates email notifications to form creators and/or respondents upon submission.\u003c/p\u003e\n"],["\u003cp\u003eCustomizable settings allow control over notification frequency, recipient emails, and content.\u003c/p\u003e\n"],["\u003cp\u003eThe add-on utilizes Google Apps Script triggers to execute functions when the form is opened, installed, or submitted.\u003c/p\u003e\n"],["\u003cp\u003eUsers configure notification preferences through a sidebar accessible within the Google Form.\u003c/p\u003e\n"],["\u003cp\u003eThe script manages authorization to access Google services for sending emails and interacting with form data.\u003c/p\u003e\n"]]],["This Google Forms add-on automates email notifications upon form submissions. It notifies the form creator when a set number of responses are received and sends a custom message to respondents. Users configure notification frequency, recipient emails, and custom messages via a sidebar. The add-on manages authorization, sends re-authorization requests, and respects email quotas. Key actions include saving settings, managing triggers, handling form submissions, sending notifications, and validating user inputs. The code structure comprises the script (`code.gs`) and the HTML code (`sidebar.html`, `about.html`, `authorizationEmail.html`, `creatorNotification.html`, `respondentNotification.html`).\n"],null,[]]