> For the complete documentation index, see [llms.txt](https://cranford-tech.gitbook.io/pdf-creator/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cranford-tech.gitbook.io/pdf-creator/implementing-key-features/generating-a-pdf-of-multiple-elements.md).

# Generating a PDF of multiple elements

### Video Tutorial

The below video tutorial demonstrates how to generate PDFs of multiple elements (relevant section is from 07:31):

{% embed url="<https://www.youtube.com/watch?t=452s&v=zB3cAuvcwK4>" %}

### Instructions

* Drop the PDF Creator element on the page

{% hint style="info" %}
You must also ensure the 'This element is visible on page load' box for the PDF Creator element is checked.
{% endhint %}

* Add an ID attribute to **each** of the elements you wish to PDF&#x20;
* Add a 'Generate PDF Creator' workflow action to a button (or some other trigger)
* Add the ID Attribute of the elements you are PDF'ing to the ID Attribute(s) input field on the Generate PDF Creator action
* Select a scale value (it is recommended you start off with 2)

### Demo app

You can view an example of the workflow action required to generate a PDF of a single element in the demo app at the below link (relevant section is the 'Generating a PDF for multiple elements' section):

{% embed url="<https://pdf-creator-demo.bubbleapps.io/>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cranford-tech.gitbook.io/pdf-creator/implementing-key-features/generating-a-pdf-of-multiple-elements.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
