recipe-create-doc-from-template▌
googleworkspace/cli · updated Apr 8, 2026
Template-based Google Doc creation with automated content population and team sharing.
- ›Requires gws-drive and gws-docs skills; uses Google Workspace APIs for file operations and document editing
- ›Workflow: copy a template doc, populate it with structured content via the docs API, then grant collaborator access through drive permissions
- ›Supports markdown-style content insertion and granular permission assignment (writer, editor roles, user/group targeting)
1d:["$","div",null,{"className":"prose prose-invert max-w-none prose-headings:font-semibold prose-headings:tracking-tight prose-h1:text-4xl prose-h1:mb-2 prose-h2:text-2xl prose-h2:mb-2 prose-h3:text-lg prose-h3:mb-2 prose-p:text-muted-foreground prose-li:text-muted-foreground prose-code:bg-muted prose-code:text-foreground prose-code:px-1 prose-code:py-0.5 prose-code:rounded-sm prose-code:text-sm prose-code:before:content-none prose-code:after:content-none prose-pre:bg-muted prose-pre:text-foreground prose-pre:border prose-pre:border-border prose-pre:rounded-md [&_table]:!border-[color:var(--border)] [&_th]:!border-[color:var(--border)] [&_td]:!border-[color:var(--border)]","dangerouslySetInnerHTML":{"__html":"<h1>Create a Google Doc from a Template</h1>\n<blockquote>\n<p><strong>PREREQUISITE:</strong> Load the following skills to execute this recipe: <code>gws-drive</code>, <code>gws-docs</code></p>\n</blockquote>\n<p>Copy a Google Docs template, fill in content, and share with collaborators.</p>\n<h2>Steps</h2>\n<ol>\n<li>Copy the template: <code>gws drive files copy --params '{"fileId": "TEMPLATE_DOC_ID"}' --json '{"name": "Project Brief - Q2 Launch"}'</code></li>\n<li>Get the new doc ID from the response</li>\n<li>Add content: gws docs +write --document-id NEW_DOC_ID --text '## Project: Q2 Launch</li>\n</ol>\n<h3>Objective</h3>\n<p>Launch the new feature by end of Q2.'<code>4. Share with team:</code>gws drive permissions create --params '{\"fileId\": \"NEW_DOC_ID\"}' --json '{\"role\": \"writer\", \"type\": \"user\", \"emailAddress\": \"<a href=\"https://github.com/googleworkspace/cli/blob/HEAD/skills/recipe-create-doc-from-template/mailto:team@company.com\" target=\"_blank\" rel=\"ugc nofollow noopener\">team@company.com</a>\"}'</p>"}}]
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★71 reviews- ★★★★★Harper Thompson· Dec 28, 2024
recipe-create-doc-from-template fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Harper Rao· Dec 28, 2024
recipe-create-doc-from-template reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Li Chawla· Dec 24, 2024
recipe-create-doc-from-template has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Li Mehta· Dec 16, 2024
We added recipe-create-doc-from-template from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aisha Thomas· Dec 12, 2024
recipe-create-doc-from-template reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Rahul Santra· Nov 19, 2024
Useful defaults in recipe-create-doc-from-template — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Nia Srinivasan· Nov 19, 2024
We added recipe-create-doc-from-template from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Aditi Sharma· Nov 19, 2024
recipe-create-doc-from-template has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Carlos Okafor· Nov 15, 2024
recipe-create-doc-from-template reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Li Bhatia· Nov 7, 2024
recipe-create-doc-from-template fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 71