
Automatically Remove Specific Pages from PDFs in Google Drive Using n8n and PDF.co
4 MIN READ
In this tutorial, we will show you how to delete pages in PDF with Bubble API Connector.
First, go to the My Templates page and click New Template.
Next, fill out the Create a new template form.
Then, click on the Edit icon to open a new template.
Now, click on the Start with a blank page button and close the assistant.
Let’s add elements, click or drag Input for the source file, and Button to send a request.
Click on the Plugins tab and add plugins.
Under Install New Plugins, look for API Connector and click the Install button.
After installing the API Connector plugins, click on the Add another API button.
Let’s set up the API Connector configuration.
https://api.pdf.co/v1/pdf/edit/delete-pages. You can get the PDF.co PDF Delete Pages endpoint from this link.Now, let’s add the parameters.
- or , for example: 1, 2-5, 7-.Once the API Connector was successful. The PDF.co PDF Delete Pages will return a sample value.
Now, go to the Workflow tab and click the Add an event box. Then, select the Elements and An element is clicked option.
Click on the Add an action button and choose the PDF.co Delete Pages – Delete Pages plugins.
Let’s insert the Dynamic Data.
Now, add another action and select the Open an external website. Then, choose the PDF.co Delete Pages body URL result for the Destination and click the Preview button.
Add the Source File URL and click the send request button.
In this tutorial, you learned how to delete pages with Bubble API Connector. You learned how to use the PDF.co PDF Delete Pages Web API to delete pages in a PDF. You also learned how to set up the API Connector and the PDF.co PDF Delete Pages parameters.
Create an account, get an API key and test a request.