# Bubble.io Plugin

You can integrate Documentero with Bubble.io to generate Word or PDF documents in your apps.

Integration page: <https://bubble.io/plugin/documentero---generate-docxpdf-1696058949924x622670192967680000>

Youtube Tutorial: <https://www.youtube.com/watch?v=UK7FECet5g0>

Youtube Tutorial#2 (Data Lists > Sections): <https://www.youtube.com/watch?v=kIv8i3crt9Y>

Bubble Integration FAQ:

**Q: Sometimes values are not passed correctly, or there is an error during document generation. Why?**\
**A:** Ensure that you are passing valid JSON data. When mapping properties, use the `:formatted as JSON-safe` option in Bubble to guarantee proper formatting.

**Q: I'm passing an image URL from Bubble, but it doesn't appear in the output document. What's wrong?**\
**A:** Bubble often provides URLs without the `https://` or `http://` prefix, which makes them invalid from Documentero’s perspective. When mapping image URL properties, make sure to prepend the correct protocol (e.g., `https://`) to form a valid URL.

**Q: How do I insert an array of table data from Bubble.io as repeating sections in the document template?**\
**A:** Define a section in your document template and pass the table data as an array of objects in your JSON. Each object will be rendered as a row within the section.

<figure><img src="https://1713720388-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIRMYKAUZ0NsaDRvNONC3%2Fuploads%2FSXShY88GNfL53HBVTJ3K%2Ff09fc1be-74fd-4ea3-bced-6f54dfa40a93.png?alt=media&#x26;token=077b6b5b-3030-4063-885b-dfc95c4a8bd0" alt=""><figcaption></figcaption></figure>


---

# 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://docs.documentero.com/documentation/integrations/bubble.io-plugin.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.
