Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
PDF → Docx to PDF
AI-generatedOverview
This node operation converts DOCX files to PDF format. It is useful in scenarios where users need to transform Word documents into PDFs for easier sharing, printing, or archiving. For example, automating the conversion of contract drafts or reports from DOCX to PDF within a workflow.
Use Case Examples
- Convert a DOCX file buffer to a PDF buffer for document management.
- Generate a PDF from a DOCX file and optionally get the PDF as a URL for easy access.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Variables defined in the code editor for the selected function, used to customize the conversion process. |
| Buffer | Buffer of the DOCX file to be converted to PDF. |
| Get File as URL | Boolean flag indicating whether the resulting PDF should be returned as a URL. |
| Filename | Filename to assign to the resulting PDF file. |
Output
JSON
pdf- The resulting PDF file data, either as a buffer or URL depending on the 'Get File as URL' setting.
Dependencies
- Requires an API key credential for the CodeKit API to perform the conversion.
Troubleshooting
- Ensure the input buffer is a valid DOCX file; invalid buffers will cause conversion errors.
- If 'Get File as URL' is true, ensure the environment supports URL generation and access.
- Common errors include invalid file format, missing buffer input, or API authentication failures. Verify credentials and input data.