https://api.eu.doconda.com/mcp to an AI Agent node, or
call POST https://api.eu.doconda.com/v1/documents from an HTTP Request node. Either way the workflow gets the
finished Word, PowerPoint, Excel or PDF file with its download links.
Which node to use
With an AI Agent
- Add an AI Agent node and, on its Tool input, an MCP Client Tool node.
- Set Endpoint to
https://api.eu.doconda.com/mcpand Server Transport toHTTP Streamable. - Set Authentication to
Bearer Auth, with a new credential holding your API key (without the word “Bearer”). - Set Tools to Include to
All, or select only the ones you need, such ascreate_document.
id, status and links.
With an HTTP Request
- Add an HTTP Request node: Method
POST, URLhttps://api.eu.doconda.com/v1/documents. - Set Authentication to
Bearer Authwith your API key. - Send a JSON Body, using n8n expressions for the workflow data:
content.markdown your text is used as is and Doconda only lays it out. To have the AI write it, send
"prompt": "…" instead of content. Change format to pdf, pptx or xlsx for another file.
The node waits up to 120 s and returns the document:
outputs: the file, its PDF and page previews (preview). Eachurlexpires after 5 minutes; get fresh ones withGET /v1/documents/{id}/outputs. To attach the file to an email, download thaturlin the next node.status:ready, orfailedwitherror.code. A failed document isn’t charged.- After 120 s the call answers
202with the document stillqueuedorrunning. Fetch it later withGET /v1/documents/{id}, or send"background": trueand receive a webhook when it finishes.
FAQ
Can I edit or convert a file that comes into the workflow?
Can I edit or convert a file that comes into the workflow?
Yes. With the agent, it uses
edit_document or convert_file; the remote MCP server takes files by public URL or
base64. With HTTP, edit with "operation": "edit" and file on POST /v1/documents, or convert with
POST /v1/convert. See Edit and Convert files.What if my balance runs out?
What if my balance runs out?
The request fails with
402 insufficient_balance before anything is made. With quality: "auto", the balance must
cover the highest level Doconda may pick; set max_quality to cap it.Where are the documents stored?
Where are the documents stored?
In the European Union (Ireland), and the AI that processes them also runs in the EU.