How-toReviewed 2026-09-29

Draft a document template with an AI assistant

Give Claude or ChatGPT your own letter, form, PDF, Excel sheet or Word file as a reference, let it draft the template in NirmaanOne with merge fields and if/else wording, check the previews it shows, then preview and publish the draft yourself in Settings > Documents.

Draft a document template with an AI assistant

Let a connected assistant do the typing: it reads your existing letter or form, writes the template with merge fields and if/else wording, and shows you previews against real records. You stay in charge of the last two steps: previewing in NirmaanOne and publishing.

Before you start

  • Your assistant is connected (an administrator has allowed AI connectors, and you have connected it under Settings > AI connectors).
  • The Create permission on Document Templates for the assistant to save a draft as you, and Publish on Document Templates for the last step.
  • Your reference file. Any type works: a photo or scan of a printed letter, a PDF, an Excel cost sheet, a Word agreement. The assistant reads it for wording and structure only; NirmaanOne never stores it.

Steps

  1. Connect your assistant to NirmaanOne if you have not yet. Your connection shows as Active under Your connections.
  2. Under Skills for your assistant, click Download zip next to nirmaanone-documents and add it to your assistant (Claude: its Skills settings; ChatGPT: paste SKILL.md into a project's instructions and attach the reference files).
  3. Attach your reference file in the assistant and ask for the template, naming the record kind if you can ("for bookings", "for demands"). The assistant drafts it and saves it as a draft under Settings > Documents > Templates.
  4. Read the previews the assistant shows, one per case, and ask for changes in plain words until they read right.
  5. Open the draft under Settings > Documents > Templates and click Preview against records of your own choosing, one per if/else branch.
  6. Click Publish.

What happens next

The template is published and appears wherever documents are generated for that record kind. The assistant can now generate a document from it, but only when you ask, and it never sends one.

If something goes wrong

  • The assistant says a value has no merge field: NirmaanOne does not carry that value. Leave it as fixed text and edit it in the template, or ask the NirmaanOne team to add the field.
  • A table repeats wrongly or a condition seems ignored: the if/else must sit inside a table cell or in its own paragraph; see Design a new document template.
  • The assistant cannot save the draft: your role lacks the Create permission on Document Templates, or AI connectors are off; see Connecting an AI app is refused.

Related

  • Design a new document templateHow-to

    Create a document template for a record type, write its wording with merge fields, repeat a table row for line items, show a block only when a condition holds, preview it against a real record and publish it so people can generate documents from it.

  • Turn on AI connectors and connect an assistantHow-to

    An administrator allows AI connectors for the organization; each user then adds NirmaanOne to Claude, ChatGPT or another MCP client with the server URL, allows the connection, and can review or disconnect it later.

  • AI connectorsScreen

    Connect Claude, ChatGPT or another AI assistant to NirmaanOne so it can act as you, see what your connections have done, and disconnect them; administrators see and revoke everyone's.

  • Document templatesScreen

    The list of your organization's document templates (demand letters, offer letters, termsheets, agreements, allotment letters, receipts, cost sheets), with filters and the actions to create, duplicate, open or delete one.

  • Document templateScreen

    The template designer: write a template's wording with merge fields, set its letterhead, title and page layout, preview it against a real record, and publish, retire or restore its versions.

  • AI connectorsConcept

    How an AI assistant such as Claude or ChatGPT connects to NirmaanOne, acts as one user within that user's role, what it can and cannot do, and how connections are watched and stopped.

  • Merge fields and filtersConcept

    Merge fields are the double-brace placeholders in document and message templates ({{ entity.demand_no }}, {{ contact.name }}) that are replaced with the record's values when a document or message is rendered; filters such as inr, words and date format the value, and Repeat row / Show when add tables and conditional blocks.

  • Document templates, published versions and letterheadsConcept

    A document template is an HTML letter with merge fields written for one record type; publishing it freezes a numbered version that generation uses while the draft stays editable, and a letterhead (the template's own, else the project's, else the organization's default) supplies the logo, header, footer and page layout around it.