How to Convert a Quotation PDF to XLS using PDF.co and Make
This tutorial will show you how to convert a quotation PDF to XLS using PDF.co Web API and Make.
We will use this sample quotation PDF and convert it into an XLS file.
![Screenshot of the Source PDF](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F6a71ee222f570a22b08a0d86be3c118f7fc32ab9-800x374.png&w=1920&q=75)
Here’s a step-by-step guide with screenshots:
Step 1: Create a Scenario
- On your Make dashboard, click Create a New Scenario
Step 2: Choose PDF.co as the Module
- Search and select PDF.co as the app for your module
- Select Make an API Call
![Choose PDF.co as the Module](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F60ae328bef7406496230f2e2eb30284d08f6c597-800x354.png&w=1920&q=75)
Step 3: Set up the Module
- For the API Endpoint Path type /v1/pdf/convert/to/xls. This is the endpoint that we will use to convert the PDF to XLS
- For the Input Type select None (uses body only)
- For the Output File Name put your desired Name of the output XLS
- For the Body click Add Item
- For the Key put url
- For the Value put the URL of your Source PDF
NOTE: If you want to use the sample quotation PDF that we’re using in this tutorial, you may download it here.
![Set up the module](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F8d97e2fbb97e82d8fe8e2fe23865a6637e11a980-560x813.png&w=1200&q=75)
![Set up the module](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F4d248ca21204032a9a1e36238eee6d2178e1ed21-563x737.png&w=1200&q=75)
Step 4: Run the Scenario
- Once you’re done setting up the module. You may now run the scenario.
- Once the scenario runs successfully, you will be given an output link where you can download the output XLS
![Run the scenario](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F8ca252835e116267a791d92f8bbddfc3233bab11-591x861.png&w=1200&q=75)
![Scenario runs successfully](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F68762583b3f2674a618819975938acf5ef6d898b-797x865.png&w=1920&q=75)
![Output link](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F141c35f095b9f7e405e29c2a57bb7d250b967d3d-561x875.png&w=1200&q=75)
Step 5: Result XLS
- Here’s what the result XLS looks like
![Screenshot of the Output XLS](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2niroq9z%2Fproduction%2F736daa4226fd15c4b95c1c78019a965559a35257-800x274.png&w=1920&q=75)
With the help of this tutorial, you’ve learned how to convert a quotation PDF to XLS using PDF.co Web API and Make.