
To create a multi-page PDF, just use the Create Multi-Page PDF tool. Otherwise, use workflows if you want to stitch multiple PDFs, JPGs, and PNGs, into a single multi-page document and chain it with other Bannerbear operations.
Inputs
Create a Workflow and use the + Add Input button to declare your inputs. These are the parameters that you'll supply to the API when you run your workflow.
🐻 Bear Tip: Available inputs can be found on the Create Multi-Page PDF tool page and the API parameters can be found on the API Reference page.

Each Inputs has:
- name - used as references in your steps and API requests
- type - the type of input you're supplying
texturlnumberboolean(true/false)
- required - determines whether a run must supply this input
Multi-page PDF
🐻 Bear Tip: When joining files, you must supply your inputs one per line — they'll be joined in the order they're arranged.
Add a Tool step and select Create multi-page PDF from the list. Use the + ref drop-menu to add your inputs to their corresponding fields.

You can chain this step with other operations, like image steps to generate the images before joining them into a single file.
API Workflow Run
Send a POST request to the /v5/workflow_runs endpoint, along with your workflow UID and inputs.
var data = {
"workflow": "VymBYa7gMjW6JQ2njM",
"inputs": {
"url1": "page1.jpg",
"url2": "page2.png",
"url3": "page3.pdf"
}
}
fetch('https://api.bannerbear.com/v5/workflow_runs', {
method: 'POST',
body: JSON.stringify(data),
headers: {
'Content-Type' : 'application/json',
'Authorization' : `Bearer ${API_KEY}`
}
})
🐻 Bear Tip: Workflows can be created via the API as well. See Create a Workflow for more.

