Rename PDF using PDF.co and Zapier
In this tutorial, we prepared a step-by-step guide on how to rename PDF using PDF.co and Zapier. Below is the screenshot of our sample document.
![Sample Source File](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Fa8e91b3ddb15e6261b4b41c7785a5a03b69a35b6-994x690.png&w=2048&q=75)
Step 1: Make a Zap
- First, click on the Make a Zap button to create a zap.
Step 2: Select PDF.co App
- Next, select the PDF.co app for the App Event.
![PDF.co App](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F3ba5b0a228e4b1264e6adb9efdc620021cfac31c-964x820.png&w=2048&q=75)
Step 3: Select PDF Filler
- Under the PDF.co app, select the PDF Filler to rename the PDF.
![PDF Filler](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F058f15c1e18ec3e98389ab4f9755f75ab52f0548-964x820.png&w=2048&q=75)
Step 4: Connect PDF.co Account
- Now, let’s connect your PDF.co account by adding the API Key. You can obtain the API Key in your PDF.co dashboard.
![Connect PDF.co Account](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F8d7d6c03a96789f8e5898b634baaf5b3f301a53b-964x820.png&w=2048&q=75)
Step 5: PDF Filler Configuration
Let’s set up the PDF Filler action.
- In the Source File field, input the link of the PDF that you’d like to rename.
- In the Text Objects field, input the 0;0;0; this is dummy data that we will add in the PDF to rename the text.
- For the Output PDF Name, input the new name of your PDF.
![PDF Filler Configuration](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F28898fbf8515513bb2f26ad1f502942c325af873-964x891.png&w=2048&q=75)
Step 6: Test and Review
- Now, we can Test the action to make sure that there are no errors in the setup.
![Test and Review](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F32854c0733c68af704ada4298a45fd3102774728-964x871.png&w=2048&q=75)
Step 7: Test Result
- Excellent! PDF.co processed our request successfully. You can use the PDF.co generated URL to view the result. When everything is set you can then turn this Zap on.
![Test Result](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2Fc237c592d6b4650618bda7b2bcb2615f3d1b4f20-964x820.png&w=2048&q=75)
Step 8: Source File Output
- This is the output of our PDF.co call. We have renamed the PDF file with our desired file name.
![Source File Output](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F898f388b1f8055d70a3598e032339460499b28ff-986x691.png&w=2048&q=75)
Step 9: Video Guide
In this tutorial, you learned how to rename a PDF file using PDF.co and Zapier. You also familiarized yourself with the PDF.co PDF Filler and learned a trick on how to rename a PDF without changing or adding anything in the file using dummy data.