Which is the best API to use in n8n? HTML to DOCX

Hello everyone,
I am looking for the most effective HTML to DOCX conversion API that I can utilize within n8n. Once the conversion to DOCX is complete, I would like to send the file using a Telegram send document node. I have a preference for a free tier API (available for limited use), but I am also open to considering paid options.
If you are not aware of any reliable HTML to DOCX API, I would also be fine with a PDF to DOCX API, as I can make slight adjustments to my n8n workflow to accommodate this change.
Do you have any valuable recommendations? Thank you in advance!

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @prismaticgaze

You have the option to self-host and employ Node.js to leverage a JavaScript library for converting HTML text into DOCX format.

I have personally self-hosted a Python API and utilized it alongside an HTTP request node to transform DOCX files into PDF format.

This is the most effective solution, and you can host it at no cost on Vercel. While the initial setup may demand some technical expertise, I am confident that with assistance from ChatGPT or Claude, you will be able to accomplish it.

2 Likes

Good to know Vercel works for this, I was wondering about hosting options but thanks for the help.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.