Docx to Markdown icon

Docx to Markdown

Converts Docx file to Markdown

Docx to Markdown

AI-generated

Overview

This node converts a DOCX file from a binary input field into Markdown text. It is useful for workflows that need to transform DOCX documents into Markdown format for easier text processing, publishing, or integration with Markdown-based systems. For example, it can be used to convert uploaded DOCX files into Markdown for content management or documentation automation.

Use Case Examples

  1. Convert DOCX files uploaded in a workflow to Markdown for further text manipulation.
  2. Remove images from DOCX files during conversion to Markdown for text-only content extraction.

Properties

Name Meaning
Input Binary Field The name of the input binary field containing the DOCX file.
Destination Output Field The name of the destination output field where the converted Markdown text will be stored.
Remove Images Boolean flag indicating whether to remove images from the converted Markdown text.

Output

JSON

- The converted Markdown text from the DOCX file, stored in the specified output field.

Dependencies

  • Requires an API key credential or environment setup to access the binary data buffer from the input field.

Troubleshooting

Error 'No binary data found for field ""' occurs if the specified input binary field does not contain any binary data. Ensure the field name is correct and the binary data is present.

  • Conversion errors may occur if the DOCX file is corrupted or not a valid DOCX format.
  • If images are not removed as expected, verify the 'Remove Images' boolean property is set correctly.

Discussion