Apps Script のサンプルの概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このセクションでは、Apps Script のクイックスタート、ソリューション、Codelab を紹介します。以下に、各タイプのサンプルの定義を示します。
- Quickstart
クイックスタート サンプルは、5 分以内に Apps Script を使い始めることができる、概念実証用の簡単なコードサンプルです。クイック スタートは、ほとんどの Apps Script プロジェクト タイプで利用できます。
左側の [Samples by project type] でプロジェクト タイプ別に整理されたクイック スタートを探すか、Google ドキュメントを作成してそのリンクをメールで送信するこのシンプルな自動化を試す。
- ソリューション
ソリューション サンプルは、完全に機能する Apps Script プロジェクトです。ソリューションは、現実的なビジネス上の問題を解決し、Google Workspace 全体でワークフローを自動化する方法を示します。多くの場合、コードを編集または更新しなくてもソリューションを実装できます。
左側の [プロジェクト タイプ別のサンプル] または [この人気の差し込み印刷ソリューションをお試しください] で、プロジェクト タイプ別に整理された解決策を見つけてください。
- Codelab
Codelab は、実践的な技術チュートリアルです。説明、動作するベスト プラクティスのサンプルコード、コード演習を組み合わせています。Codelab はほとんどの Google デベロッパー プロダクトで利用でき、Codelab カタログで公開されています。
Apps Script 固有の Codelab は、左側の [Codelabs] にあります。
Apps Script のサンプルは GitHub でも入手できます。これらのリポジトリをフォークして、独自のプロジェクトのリファレンスとしてコードを使用できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eThis section offers Apps Script quickstarts, solutions, and codelabs to help you learn and implement Apps Script effectively.\u003c/p\u003e\n"],["\u003cp\u003eQuickstarts provide concise code samples for a fast introduction, while solutions offer complete projects addressing real-world scenarios.\u003c/p\u003e\n"],["\u003cp\u003eCodelabs guide you through hands-on tutorials with explanations and practical exercises for deeper learning.\u003c/p\u003e\n"],["\u003cp\u003eExplore samples organized by project type or delve into specific quickstarts, solutions, and codelabs for targeted learning experiences.\u003c/p\u003e\n"],["\u003cp\u003eAccess additional resources on the Google Workspace Developers YouTube channel and GitHub for further exploration and reference.\u003c/p\u003e\n"]]],["Apps Script offers three types of samples: Quickstarts, Solutions, and Codelabs. Quickstarts are brief code samples for rapid prototyping. Solutions are complete projects that solve real-world business issues and often require no code modification. Codelabs are step-by-step tutorials with explanations, sample code, and exercises. Samples are organized by project type and can also be found on GitHub for reference. Google also provides helpful tips and latest features on their Youtube channel.\n"],null,["# Apps Script samples overview\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve our Google Workspace documentation by taking a quick [online survey](https://forms.gle/XcqRP3PJiQv9ADuj9). |\n\nThis section provides Apps Script quickstarts, solutions, and codelabs.\nFollowing is a definition of each type of sample. \n\n|---|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Prefer to learn through video? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |\n\n*Quickstart*\n\n: Quickstart samples offer quick, proof-of-concept code samples to get you\n working with Apps Script in under five minutes. Quickstarts are available for\n most Apps Script project types.\n\n: Find quickstarts organized by project type at the left under **Samples by\n project type** or\n [try this simple automation](/apps-script/quickstart/automation) that creates a\n Google Doc and emails you a link to it.\n\n*Solution*\n\n: Solution samples are fully functional Apps Script projects. Solutions address\n realistic business problems and showcase how you can automate workflows across\n Google Workspace. Often, you can implement solutions without needing to edit or\n update the code.\n\n: Find solutions organized by project type at the left under **Samples by\n project type**\n or [try this\n popular mail merge solution](/apps-script/samples/automations/mail-merge).\n\n*Codelab*\n\n: Codelabs are hands-on, step-by-step technical tutorials. They combine\n explanation, working best-practice sample code, and code exercises. Codelabs are\n available for most Google developer products and are published on the\n [Codelab catalogue](https://codelabs.developers.google.com/).\n\n: Find Apps Script-specific codelabs at the left under **Codelabs**.\n\nYou can also find Apps Script samples on [GitHub](https://github.com/googleworkspace/apps-script-samples).\nYou can fork these repositories and use the code as a reference for your own\nprojects."]]