# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
