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
- Put your API key (dashboard → API keys) in
DOCONDA_API_KEYand install the SDK:pip install docondaornpm install @doconda/sdk. - Upload the template and, optionally, the files with the material for the content.
- Create the document with the template in
sourcesand mention it in theprompt:
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 atstandard 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
.docxor.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, orfailedwitherror.code. A failed document isn’t charged.
FAQ
Can I fill in fields like {customer} or {amount}?
Can I fill in fields like {customer} or {amount}?
What if I already have the text written?
What if I already have the text written?
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.Can I use my website as the design?
Can I use my website as the design?
Yes. Pass the page as an HTML file in
sources: its fonts, colors and sizes are copied as they render, CSS included.