Skip to main content
Yes. Upload your template, pass it in sources and say so in the prompt: “with the design of our template”. Doconda writes the content and copies the design. It isn’t a placeholder engine ({name}, mail merge): to fill blanks with data you already have, look at Carbone or Docmosis.

Create a document from your template

  1. Put your API key (dashboard → API keys) in DOCONDA_API_KEY and install the SDK: pip install doconda or npm install @doconda/sdk.
  2. Upload the template and, optionally, the files with the material for the content.
  3. Create the document with the template in sources and mention it in the prompt:
The output shows the level Doconda used and why. Here it’s best, because a template comes with a data document in sources. The design.chosen event names the file used as the design.

What gets copied

The other files in sources are material for the content (up to 5 documents in all).

Quality and price

Copying a design works at standard and best. With quality: "fast" the document fails with design_needs_quality and isn’t charged. Set quality: "standard" to pay €0.50. See quality levels.

What you get back

  • An editable .docx or .pptx, with its PDF. In Word, the look lives on the document’s styles (Normal, Heading 1…), so whatever you add later follows the same design.
  • Checked before delivery: the agent corrects figures that aren’t in your request or your sources.
  • status: ready, or failed with error.code. A failed document isn’t charged.

FAQ

No: Doconda doesn’t replace placeholders, it copies the design and writes the content. To merge JSON data into a template with placeholders, compare Carbone and Docmosis.
Copying a file’s design needs a prompt, and documents in sources only work with prompt. With your own Markdown, describe the look in style instead; see Style.
Yes. Pass the page as an HTML file in sources: its fonts, colors and sizes are copied as they render, CSS included.
For the full rules, see copy the design of a file.