
Generate Code 128 Document Separator Sheets with Make and PDF.co
20 MIN READ
In this tutorial, we’ll demonstrate how to rotate specific pages and automatically fix rotated pages in a PDF using PDF.co and Make. We’ll start with a sample PDF containing 5 pages and guide you through selecting individual pages to rotate to specific angles, as well as how to fix any incorrectly rotated pages. Below is the sample PDF we’ll be using:
Let's utilize the Google Drive module and choose the 'Download a file' feature to retrieve the PDF file you need to process.
Next, add the PDF.co API Call feature to call an API endpoint that will be used in the process.
v1/pdf/edit/rotate. This endpoint will allow you to rotate specific pages within the PDF file. You can access the endpoint through our developer documentation.Upload files and inject param as url option to automatically upload the file from Google Drive.After setting everything up, run the scenario to rotate the specific PDF pages. Then, copy the URL provided and paste it into your browser to view the rotated pages.
Here's the result after successfully rotating the selected pages in the PDF document.
Now that we've finished rotating specific pages in the PDF document, we will add another PDF.co app to automatically fix the rotated pages.
Let's use another PDF.co API Call feature to call an API endpoint that will automatically fix the rotated PDF pages.
v1/pdf/edit/rotate/auto. This endpoint will correct rotated PDF pages, whether they are sideways or upside-down. You can access the endpoint at our developer documentation.Upload files and inject param as url option to automatically upload the file from PDF.co Rotate Pages.After setting up, run the scenario to automatically rotate the PDF pages. Then, copy the provided URL and paste it into your browser to view the output.
Here's the result after successfully auto-correcting the rotated pages in the PDF document.
To ensure convenient future access to the file generated by the PDF.co API, we can store it in a cloud storage platform such as Google Drive or any other preferred service. This will securely save the file, allowing for permanent storage and easy retrieval whenever needed.
We will now integrate the Google Drive module for uploading the output file and directly saving the generated file to our Google Drive folder.
After you are done configuring the settings, proceed to run the scenario. Then, open your Google Drive folder to view the uploaded file.
Here is the uploaded file in the Google Drive folder.
In this tutorial, you learned how to rotate and auto-rotate PDF pages using Make and the PDF.co Web API endpoints.

20 MIN READ

12 MIN READ

20 MIN READ

20 MIN READ
Create an account, get an API key and test a request.