Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
PDF → Convert DOCX to PDF
AI-generatedOverview
This node provides a utility to convert DOCX files into PDF format. It supports inputting the DOCX file either via a public URL or as binary buffer data. Users can choose whether to receive the converted PDF as a downloadable URL or directly as binary data. This functionality is useful in automation workflows where document format conversion is required, such as generating PDFs from Word documents for sharing, archiving, or further processing.
Practical examples:
- Automatically converting contract drafts stored as DOCX files on a web server into PDFs for distribution.
- Receiving DOCX files uploaded by users and converting them to PDFs before sending them via email.
- Archiving DOCX reports as PDFs in a document management system.
Properties
| Name | Meaning |
|---|---|
| DOCX URL | Public URL of the DOCX file to convert. |
| DOCX Buffer | Binary buffer data of the DOCX file to convert (alternative to URL). |
| Return as URL | Whether to return the resulting PDF as a downloadable URL (true) or as binary data (false). |
| File Name | Desired name for the output PDF file. |
Output
The node outputs JSON data containing the result of the conversion. Depending on the "Return as URL" property:
- If
true, the output JSON includes a URL pointing to the downloadable PDF file. - If
false, the output contains the PDF file data in binary form.
This allows flexible handling of the PDF output depending on downstream workflow needs.
Dependencies
- Requires an API key credential for authentication with the external 0CodeKit service.
- The node sends a POST request to the
/pdf/docx-to-pdfendpoint of the 0CodeKit API. - Network access to the specified DOCX URL (if used) must be available.
Troubleshooting
Issue: Conversion fails due to inaccessible DOCX URL.
Resolution: Ensure the URL is publicly accessible without authentication and correctly points to a valid DOCX file.Issue: No output or empty PDF returned.
Resolution: Verify that the input DOCX data (URL or buffer) is valid and not corrupted.Issue: Authentication errors.
Resolution: Confirm that the API key credential is correctly configured and has necessary permissions.Issue: Unexpected response or error from the API.
Resolution: Check the API status and review any error messages returned. Validate all input parameters are correctly set.
Links and References
- 0CodeKit API Documentation (base URL for requests)
- General information on DOCX to PDF conversion tools and best practices.