{{Gext}}

Turn Google Docs into
dynamic templates

Add {{variables}} to any Google Doc. {{Gext}} auto-generates forms and REST APIs to fill and export them as PDFs.

How it works
template.gdoc

Dear {{client_name}},

This is to confirm your booking on {{travel_date}} from {{origin}} to {{destination}}.

Total: {{amount}}

PNR: {{pnr_number}}

Smart extraction

Automatically detects variables like {{date}} or {{status:select}} from your Google Doc and generates typed form fields.

client_name
text
travel_date
date
amount
number
curl -X POST /api/generate/abc123 \
  -H "Authorization: Bearer gext_sk_..." \
  -d '{"variables": {"client": "Acme Corp"}}'

REST API & OpenAPI

Every template gets a unique API endpoint with an auto-generated OpenAPI spec. Integrate document generation into any workflow with a single POST request.

PDF export

Generates a filled copy in your Google Drive and returns a direct link to the exported PDF. Supports images, selects, booleans, and custom output folders.

Booking_Confirmation.pdf

Generated just now

Invoice_March.pdf

2 minutes ago

MCP Server

Streamable HTTP · ready

npx @gext/cli generate

CLI · npm package

Claude CodeCursorOpenClawWindsurfAny MCP client

AI agent connectors

Plug and play with your favourite AI tools. {{Gext}} ships with a built-in MCP server and a full-featured CLI so agents like Claude Code, Cursor, OpenClaw and others can create templates and generate documents on your behalf.