You may use different cloud storage for your trigger app.
How to Remove a Password from PDF using API Integration with Zapier
Have you ever wanted to automate removing a password to your PDF files? So that you can share them with your colleagues or other people without the need to provide them with a password to open the PDF file? PDF.co and Zapier can help you automate the process of removing a password to a PDF file.
![Password-protected PDF](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F656f8e6ff482cd94e2c4315e09293d90c49a813a-937x719.png&w=1920&q=75)
Here’s a step-by-step guide with screenshots:
Step 1: Create a Zap!
- Click Create Zap on the upper-left corner of your Zapier dashboard.
Step 2: Select a Trigger App
- For this tutorial, we will be using Google Drive as our Trigger App
![Select a trigger app](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F9940217a019443681616a76968f83a322c5cced7-690x411.png&w=1920&q=75)
Note
Step 3: Select a Trigger Event
- For the trigger event, we will set it to New File in Folder. This way every time there’s a new file added to your Google Drive folder, it will trigger this zap.
![Select a trigger event](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F319e1c44ec6fd9bd52eca8aace56f842b8979389-800x324.png&w=1920&q=75)
Step 4: Setup Trigger
- Select the Drive and Folder that you’re going to use.
![Setup Trigger](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F04c8cd1fd877021ae3a48fa8ad6b12cc07a3478c-800x428.png&w=1920&q=75)
Step 5: Test Trigger
![Test trigger](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F8afba2b3fdaf5db0a06250b1be6a2af4984a9e8c-800x359.png&w=1920&q=75)
Step 6: Select an Action App
- Search and select PDF.co as your Action App.
![Select an action app](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Fad9ddd448659dd8498f2994c9695e675e56869d5-658x531.png&w=1920&q=75)
Step 7: Select an Action Event
- We will use PDF Security as the action event. This API can be used to both add or remove a password to a PDF.
![Select an action event](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F71d315392368ffbba16f40f06039f5ba6976599a-800x312.png&w=1920&q=75)
Step 8: Setup Action
- In the PDF URL, insert the URL to your PDF file.
- Select Remove Security, in Mode.
- Add the Password of your PDF file in the Owner Password field.
- You may set the Name of your output PDF
![Setup action](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F55089c05c464f85472e377a6cb7c545af588ecb6-800x458.png&w=1920&q=75)
![Setup action](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Ff9acdc7b5e7b0d0acd2f924d324e89463ed75084-800x561.png&w=1920&q=75)
Step 9: Test Action
![Test action](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F3efccac95a2e6ccf283b24258cff5f59c2f9d276-797x770.png&w=1920&q=75)
![Test successful](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F3921d3c9c491a0e6b38a5020cc65fc951a24f161-800x525.png&w=1920&q=75)
Step 10: Result
- Here’s the output PDF.
![Screenshot of the Output PDF](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Fe14ac51f1feec23fe6f1ea47f83ac88781e02b30-800x249.png&w=1920&q=75)
In this tutorial, you’ve learned how to remove a password from a PDF file using an API integration with Zapier.