This n8n workflow automates the process of converting a DOCX file to PDF format, triggered manually for testing purposes. It begins with a manual trigger which simulates clicking ‘Test workflow’. Upon activation, the workflow downloads a DOCX file from a specified URL, then sends it to a conversion API (ConvertAPI) to convert the file from DOCX to PDF. After the conversion, the resulting PDF file is saved locally on the disk.
### Step-by-step Description:
1. **Manual Trigger**: Initiates the workflow when manually activated, simulating a user clicking ‘Test workflow.’
2. **Download File**: Uses an HTTP request node to fetch a DOCX document from a specified URL.
3. **File Conversion**: Sends the downloaded DOCX file via another HTTP POST request to ConvertAPI’s DOCX to PDF endpoint, authenticating with an API secret.
4. **Save PDF**: Writes the converted PDF file to the local disk with a specified filename.
### Use Cases:
This workflow is particularly useful in scenarios where automated, on-demand conversion of documents is needed, such as generating PDFs for reports, invoices, or other documentation directly from Word files stored online. It simplifies large-scale document processing, ensuring formats are converted without manual intervention.
Reviews
There are no reviews yet.