Content: 00566.zip (31.88 KB)
Uploaded: 22.12.2025

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$7.42
This workflow automates the creation of legal and business documents through a chat interface using Google Docs templates. The user selects a document type, answers a series of guided questions, and receives a fully filled PDF with a download link. Supports conditional blocks, mandatory fields, input validation, and stores conversation context in PostgreSQL. Ideal for professionals who need to generate accurate documents quickly without manual copying.

## Who it´s for
- Law firms creating standard contracts
- Entrepreneurs formalizing deals without a lawyer
- HR specialists generating employment agreements
- Notaries and consultants serving clients online
- Business owners in Turkey needing documents in Turkish

## What the automation does
- Triggers on incoming chat message to start user dialogue
- Presents template options (lease agreement, NDA, employment contract)
- LangChain agent powered by Google Gemini collects required data via interactive questions
- Validates completeness and correctness against template metadata
- Formats input into structured JSON and sends to Google Apps Script
- Copies template in Google Drive, fills placeholders, exports as PDF
- Sends download link back to the user

## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic based on chat_message
- Integrations with Google Drive, Google Docs, Google Gemini API, PostgreSQL, and HTTP API
- Basic text instructions for setup and adaptation

## Requirements for setup
- n8n instance with external API access
- Google Cloud project with Gemini API enabled
- Google Drive with Google Docs templates
- Configured Google Apps Script for document population
- PostgreSQL database for storing chat memory
- Chat platform (e.g., Telegram) to receive messages

## Benefits and outcomes
- Fully automated document generation without manual input
- Reduced errors through validation and structured data collection
- Support for complex logic: conditional sections, required fields, branching
- Conversation history and data stored in PostgreSQL
- Multilingual support (primary: Turkish)
- Time savings when producing high volumes of standard documents

## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via Telegram: @gleb923.
document generation from templates
fill Google Docs templates via chat
legal document bot
automate contracts with chatbot
generate PDF from Google Docs
LangChain Google Gemini agent
Telegram bot for documents
no-code document automation
conditional blocks in templates
form field validation
Google Apps Script integration
chat memory in PostgreSQL
employment contract creation
online NDA generator
rental agreement via bot
No feedback yet