You can use PDF Generator API Bubble Plugin to quickly generate PDF documents using the data you already have in your Bubble application (e.g. store orders, database records etc.).
You can find a detailed tutorial with screenshots here:
https://support.pdfgeneratorapi.com/en/article/how-to-integrate-with-bubble-svrs1iYou can find an example application here:
https://pdf-generator-api-demo.bubbleapps.io/version-test1. PREREQUISITE
----------------------------------
This plugin requires a PDF Generator API account. You can create a free Sandbox account at
https://pdfgeneratorapi.com2. CONFIGURING THE PLUGIN
----------------------------------
In the plugin configuration, you need to add API KEY, API SECRET and WORKSPACE values. You can find your PDF Generator API key and secret from Account Settings view. The WORKSPACE is the workspace identifier that specifies the request context. Your default workspace identifier is the email you used to sign up to PDF Generator API.
3. ACTIONS
----------------------------------
The current plugin version has two Actions that you can use in your Bubble Workflow - PDF API - Generate Document and PDF API - Open Editor.
PDF API - Generate Document
This Action allows you to send dynamic data from your application generate a PDF document using a template you created in PDF Generator API. The Action returns a data set where content is the URL to file, or base64 encoded PDF content.
PDF API - Open Editor
This Action allows you to open the PDF Generator API editor from your Bubble application. The Action returns a data set where editor_url is a unique URL that loads the editor. You can redirect the user to the URL or show it in an iframe.
4. HELPER PLUGINS
----------------------------------
We recommend using the Toolbox plugin to open URLs on new pages using their Run javascript action, and jsonNest plugin to convert your database objects to JSON.