In this tutorial, we will show you how to convert specific excel worksheets to PDF using PDF.co and Make. We will use a sample invoice from Google Sheet for the source file.
- Create New Scenario
- Add PDF.co App
- Make an API Call
- PDF.co Make an API Call Configuration
- Run Scenario Result
- Converted PDF Output

Step 1: Create New Scenario
To begin, let’s start by creating a new scenario.
Step 2: Add PDF.co App
Next, search and select the PDF.co app.
Step 3: Make an API Call
Then, choose the Make an API Call module.
Step 4: PDF.co Make an API Call Configuration
Let’s set up the PDF.co Make an API Call module.
- In the API Endpoint Path field, type in
/v1/xls/convert/to/pdf
the endpoint. - For the Input Type field, select the Override “url” param with value as an input.
- In the URL field, enter the source file link. The Embed link from Google Sheet works here.
- Type in your desired PDF output name for the Output File Name field.
- Under the Body param, type in the worksheet index parameter as the
key
. The worksheet index parameter will allow you to specify which specific sheet you’d like to convert to PDF. Then, type thevalue
of the particular sheet you’d like to convert into a PDF. The worksheet index starts at “0” for sheet 1 and the worksheet index “1” represents sheet 2.
After setting up the configuration, let’s run the scenario.
Step 5: Run Scenario Result
Excellent! We successfully run the scenario. You can copy the URL and paste it into your browser to view the output.
Step 6: Converted PDF Output
Here’s what the converted PDF output looks like.

In this tutorial, you learned how to convert a specific excel worksheet to PDF using PDF.co and Make. You learned how to use the /v1/xls/convert/to/pdf endpoint to convert XLS to PDF format. You also learned how to use the PDF.co Custom API Call Web API to generate PDF.