Documint

AI agents that build beautiful documents from your Documint templates on demand

Your AI agent pulls the right Documint template, fills it with customer-provided data using Handlebars variables, and delivers a polished PDF. Conditional logic, dynamic tables, and repeating sections all render automatically. Professional documents created without anyone touching the template editor.

Chosen by 800+ global brands across industries

Template-driven document automation in every chat

Your AI agent works with Documint's template system to retrieve, manage, and generate documents using Handlebars-powered dynamic content.

List All Templates

Your AI agent retrieves every available Documint template in your account. This lets the agent present document options to the customer, whether they need an invoice, a proposal, or a compliance form, and select the right one for generation.

Retrieve Template Details

Before generating a document, the agent fetches a specific template's structure using its ID. This reveals required data fields, layout configuration, and conditional logic, so the agent knows exactly what information to collect from the customer.

List Generated Documents

A customer asks about a previously created document. Your agent calls the List Documents endpoint to surface all generated files in the account, making it easy to locate, reference, or re-share any document from prior conversations.

Update Template Settings

Your agent modifies a template's name, description, layout, or configuration through the Update Template endpoint. When business requirements change, templates stay current without requiring manual edits in the Documint dashboard.

Remove Outdated Templates

When a template version is retired or replaced, your agent permanently deletes it using the Delete Template endpoint. This keeps the template library clean and prevents the agent from accidentally using obsolete document formats.

Generate Dynamic Documents

The agent collects customer data during a conversation and sends it to Documint for rendering. Handlebars variables, conditional sections, and repeating loops populate automatically, producing a finished PDF without manual data entry.

Documint

Use Cases

Professional documents, zero manual effort

Discover how businesses use AI agents with Documint to produce templated documents from live customer data, eliminating copy-paste workflows entirely.

Personalized Proposals Generated in Real Time

A potential client shares their project requirements and budget during a chat. Your AI Agent retrieves the proposal template from Documint, fills in company name, scope of work, pricing tiers, and delivery timelines using Handlebars variables, and generates the PDF. The prospect downloads a branded proposal before the conversation ends. Your team never opens a text editor.

Compliance Documents with Conditional Sections

A financial services customer needs a disclosure form. Your AI Agent asks regulatory questions, determines which clauses apply, and generates a Documint document with the correct conditional sections included. Irrelevant sections are automatically excluded based on the customer's answers. Each document is precisely tailored without anyone reviewing clause applicability manually.

Template Cleanup After a Product Line Update

Your business discontinues a service and its associated document templates are no longer valid. Your AI Agent identifies the outdated templates using List Templates, confirms which ones to remove, and deletes them from Documint. Then it updates the remaining templates with revised descriptions. Your document library stays accurate without IT intervention.

Try
Documint

Documint

FAQs

Frequently Asked Questions

How does the AI agent know which Documint template fields to ask about?

The agent fetches the template details using the Get Template endpoint, which returns the template's Handlebars variable names, layout structure, and settings. From this, the agent determines exactly which data points it needs to collect from the customer, such as name, address, line items, or any custom fields defined in your template.

Can the agent handle Documint templates with conditional logic and loops?

Yes. Documint templates support Handlebars conditional blocks and repeating sections natively. The agent collects the relevant data, and Documint's rendering engine evaluates the conditions and loops during PDF generation. The agent does not need to understand the logic itself; it simply provides the data that drives it.

What happens if a customer requests a document type that does not have a template?

The agent checks your available templates using List Templates. If no matching template exists, it informs the customer and offers alternatives. You can configure the agent to escalate to a human team member or suggest creating a support ticket for new template requests.

Does Tars store copies of documents generated through Documint?

Tars does not maintain a separate document repository. Documint generates the document and provides a download URL or file link. The agent delivers this to the customer during the conversation. Document storage, retention, and access control are managed within your Documint account.

Can the agent update a Documint template's layout or settings during a conversation?

Yes. The agent can call the Update Template endpoint to modify a template's name, description, layout JSON, or additional settings. This is useful when an admin needs to make quick adjustments without logging into the Documint dashboard. Standard agent permissions and your API key scope control what changes are allowed.

How does authentication work for the Documint integration?

Documint uses a straightforward API key for authentication. In your Tars dashboard, navigate to the Tools section, select Documint, and enter your API key. Once saved, the agent can access your templates and documents. No OAuth flow or multi-step authorization is required.

What document output formats does Documint support through the agent?

Documint's primary output is PDF, which is what most customers receive. The platform also supports merging data into various template formats. The agent triggers generation and delivers the resulting file link. Specific output options depend on your Documint plan and template configuration.

How is using Tars with Documint different from generating documents directly on documint.me?

The Documint web interface requires manual template selection and data input. With Tars, data collection happens conversationally with your customer, and the agent handles template selection, data mapping, and generation automatically. The entire process is embedded in the customer interaction, reducing the steps between a data request and a finished document.

How to add Tools to your AI Agent

Supercharge your AI Agent with Tool Integrations

Don't limit your AI Agent to basic conversations. Watch how to configure and add powerful tools making your agent smarter and more functional.

Privacy & Security

We’ll never let you lose sleep over privacy and security concerns

At Tars, we take privacy and security very seriously. We are compliant with GDPR, ISO, SOC 2, and HIPAA.

GDPR
ISO
SOC 2
HIPAA

Still scrolling? We both know you're interested.

Let's chat about AI Agents the old-fashioned way. Get a demo tailored to your requirements.

Schedule a Demo