Help Center

Are you an AI Agent?

{{Gext}} has MCP server integration and an llms.txt for AI agents.

Getting started with {{Gext}}

Transform Google Docs into dynamic templates with auto-generated forms, REST APIs, and PDF exports.

What is a template?

A template is a Google Doc that acts as the blueprint for your generated documents. Instead of hardcoding details like a client's name or invoice amount, you leave placeholders called tags. {{Gext}} detects these tags, generates a typed form and a REST API endpoint, then seamlessly injects your data into a fresh copy and exports a PDF.

The 3-step process

1

Create

Write your document in Google Docs. Add {{tags}} wherever you need dynamic data.

2

Import

Paste the Doc URL into {{Gext}}. A form and API endpoint are generated automatically from your tags.

3

Generate

Fill the form or call the API — get back a Google Doc and PDF with all tags replaced.

Tag syntax reference

Tags use the format {{name}} or {{name:type}}. The type controls what kind of form input is generated.

TagInput type
{{name}}Text
{{name:text}}Text
{{amount:number}}Number
{{email:email}}Email
{{start_date:date}}Date
{{active:boolean}}Boolean
{{status:select(Active,Inactive)}}Select
{{logo:image}}Image
{{logo:image(200x100)}}Image (sized)
{{banner:image(400,cover)}}Image (fit)

{{Gext}} also auto-detects types by name — e.g. a variable named email becomes an email field, logo becomes an image field. AI-powered refinement further improves detection when Gemini is configured.

Image tags

Image tags let you inject photos, logos, or any picture into your documents. When you generate a document, {{Gext}} replaces the tag text with the actual image inline.

Auto-generated REST API

Every template you create in {{Gext}} automatically gets its own REST API endpoint. No setup needed — import a doc, and the API is ready.

AI features

When Gemini is configured, {{Gext}} unlocks additional AI-powered capabilities.

CLI

{{Gext}} has a command-line interface for managing templates, generating documents, and automating workflows from the terminal.

AI Agent Integration

{{Gext}} provides an MCP server, a CLI, and a machine-readable llms.txt file so AI agents can discover and use your templates programmatically.

Try {{Gext}} with your favorite AI — one click to open a conversation with full context:

Tips

  • Use snake_case or camelCase for tag names — they'll be auto-converted to human-readable labels.
  • Tags are case-sensitive. {{Name}} and {{name}} are treated as different variables.
  • For images, always use direct image URLs (ending in .jpg, .png, etc.) — not web page URLs that display images.
  • Set an output folder on your template to keep generated documents organized in a specific Google Drive folder.
  • Use metadata.fileName in API calls to give generated docs meaningful names (e.g. "Invoice - Acme Corp - Jan 2026").
  • The pdf_url in the API response is a direct Google export link — it works for programmatic downloads with the same auth.