Save PDF copies of new OneDrive documents with ConvertAPI

Convert each new Word DOCX in a selected OneDrive folder to PDF and store the copy in a dedicated output folder.

10 stepsProductivity

Free to start, no card required.

How it works

  1. When this happens

    File added to the OneDrive folder

    Microsoft OneDrive

  2. Step 1 · Code

    Select new Word documents

  3. Step 2

    Check the document type

    Follows the first path that matches

    • Word document

      1. Step 3 · Storage

        Look up the previous run

      2. Step 4

        Check for a previous result

        Follows the first path that matches

        • No saved result

          1. Step 5 · Microsoft OneDrive

            Download the original DOCX

          2. Step 6 · ConvertAPI

            Convert the document to PDF

          3. Step 7 · Code

            Verify the converted PDF

          4. Step 8 · Microsoft OneDrive

            Save the PDF in the output folder

          5. Step 9 · Storage

            Save the result reference

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Select the source OneDrive folder and a separate output folder reserved for generated PDFs. Connect ConvertAPI and verify that the source folder contains documents approved for external conversion. Each PDF filename includes a code derived from its source file ID.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template