google-no-code
Skill này làm gì
Công cụ này giúp bạn thiết kế Google Form và thiết lập các hành động tự động khi có người gửi phản hồi. Ví dụ, gửi email hoặc lưu câu trả lời vào bảng tính, mà không cần viết code.
Khi nào nên dùng
- ✓Khi bạn muốn tạo Google Form và có điều gì đó tự động xảy ra sau mỗi lần gửi.
- ✓Khi bạn cần thông báo qua email hoặc lưu phản hồi vào bảng tính.
- ✓Khi bạn muốn có sẵn các đoạn code để dán vào Google Apps Script.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/google-no-code/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn tạo một biểu mẫu liên hệ và nhận email mỗi khi có phản hồi mới.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn tạo biểu mẫu trong Google Forms như bình thường. Sau đó, bạn mở trình chỉnh sửa script, dán một đoạn code nhỏ do công cụ cung cấp, và thiết lập trigger để code tự chạy khi có người gửi biểu mẫu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Google No-Code Forms Automation
Overview
Guides the user through building a Google Form in the Forms UI and connecting it to Google Apps Script triggers, without writing a custom integration or leaving the browser. Covers form design, the Apps Script editor, the onFormSubmit trigger, and small response-handling scripts that run automatically when a form is submitted.
When to Use This Skill
- Use when the user wants to build a Google Form and automate what happens after submissions.
- Use when the user asks for email alerts, spreadsheet logging, or conditional handling of form responses.
- Use when the user wants Apps Script snippets to paste into a form bound script project.
- Skip this skill if the user needs custom UI, paid APIs, or a full standalone Apps Script application.
How It Works
Step 1: Define the form in the Forms UI
Create the form in Google Forms with clear questions, answer types (short answer, multiple choice, checkbox), and required fields. Match question IDs to what the script will need later. Add a description to the form so respondents know what to expect.
Step 2: Open the bound Apps Script editor
In the form, go to Extensions > Apps Script. This opens a project bound to the form. The script can read each submission through the e.response event object.
Step 3: Write the response handler
Add a function that accepts the onFormSubmit event, reads e.response with getItemResponses(), and then performs the desired action: send an email, write to a spreadsheet, or branch on answers.
Step 4: Install the trigger
In Apps Script, go to the clock/triggers menu, select the onFormSubmit function, choose the event source From form and event type On form submit, then save and authorize. The function runs automatically on each new submission.
Step 5: Test with a real submission
Submit a test response from a private/incognito window and verify the email, sheet row, or log arrives once. Check the Apps Script executions page (Executions in the editor) for errors and read the stack trace if something fails.
Examples
Example 1: Email notification on every response
function onFormSubmit(e) {
const response = e.response;
const email = getEmail(response);
MailApp.sendEmail({
to: email,
subject: "Form submission received",
body: "Thank you. We have recorded your response."
});
}
function getEmail(response) {
const items = response.getItemResponses();
for (const item of items) {
if (item.getItem().getTitle().toLowerCase().includes("email")) {
return item.getResponse();
}
}
return Session.getActiveUser().getEmail();
}
Example 2: Log each response to a Google Sheet
function onFormSubmit(e) {
const sheet = SpreadsheetApp.openById(SHEET_ID).getSheetByName("Responses");
const itemResponses = e.response.getItemResponses();
const row = [new Date()].concat(itemResponses.map(r => r.getResponse()));
sheet.appendRow(row);
}
Example 3: Branch on a multiple-choice answer
function onFormSubmit(e) {
const items = e.response.getItemResponses();
for (const item of items) {
if (item.getItem().getTitle().toLowerCase() === "priority") {
const priority = item.getResponse();
const subject = priority === "High" ? "[URGENT] " : "";
MailApp.sendEmail({ to: MANAGER_EMAIL, subject: subject + "New submission", body: itemResponsesText(e) });
}
}
}
Best Practices
- ✅ Test every trigger with a real submission before telling the user it works.
- ✅ Use clear, stable question titles so the script can match items by title instead of fragile indexes.
- ✅ Keep secrets and API keys in script properties, never hard-coded in the file.
- ✅ Add try/catch around handler logic and log errors with
Logger.logso failures surface in the Executions page. - ❌ Do not grant broad scopes; run with the minimum permission the form action needs.
- ❌ Do not send email to addresses that the form did not legitimately collect.
Limitations
- Apps Script quotas apply (email rate limits, daily triggers, execution time); heavy volume needs review.
- Only form submissions trigger the event; edits to responses by users do not fire
onFormSubmitby default. - The skill produces scripts the user must paste, authorize, and deploy; it cannot create a Google Forms project by itself.
…
Câu hỏi thường gặp
Tôi có cần biết lập trình để dùng không?
Không, mục tiêu chính là bạn không cần viết code. Bạn chỉ cần sao chép và dán các đoạn code mà công cụ cung cấp.
Google Apps Script là gì?
Đây là công cụ của Google cho phép tự động hóa tác vụ giữa các ứng dụng như Forms, Sheets và Email.
Điều gì xảy ra nếu tôi làm sai code?
Công cụ giúp bạn kiểm tra và chỉ ra các lỗi thường gặp. Bạn có thể xem mục 'Executions' trong trình chỉnh sửa script để biết chuyện gì đã sai.
Chi tiết
Mô tả gốc của tác giả
Design Google Forms and wire Apps Script triggers (onFormSubmit) for email alerts, spreadsheet logging, and dynamic questions — no code editor required.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4773
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.