Easily create transactional PDF documents from your Bubble Application

Whether you need to create invoices, packing slips, contracts or labels, PDF Generator API helps you easily create the document templates and generate polished documents with the data you already have available. You can even allow your users to modify their templates without any development effort!

You can use the free Sandbox Account for 3 months to evaluate and integrate the API. The Sandbox Account allows you to make 2500 merges per month.
PDF Generator API
PDF Generator API

Introduction

Bubble is the most powerful no-code platform, empowering entrepreneurs to build production-ready web apps. Bubble lets you create interactive, multi-user apps for desktop and mobile web browsers, including all the features you need to build a site like Facebook or Airbnb. Build out logic and manage a database with our intuitive, fully customizable platform.

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 the example application built with Bubble and PDF Generator API Plugin here.

Resources

Use-cases

Here are some use-cases that you might have in your application. If you have a use-case that we have not covered, please contact us support@pdfgeneratorapi.com

Open generated document or editor in a new tab

The ability to open links in a new tab is essential, and to achieve this, you can use the Toolbox plugin, which allows you to run Javascript and take advantage of window.open function. In our example application, we use the Tooltbox Run javascript action after PDF API - Generate Document command to open the generated document on a new page. You can do the same with the PDF API - Open Editor Action to open the editor in a new tab.
View full tutorial with screenshots and examples

Use Bubble Database object as JSON data

It is possible to use your Bubble Database object (e.g. User, Company, Order etc.) as the data source for the generated document. If you want to send a Bubble Database object, you can use jsonNest plugin to convert your Database object to JSON automatically. The jsonNest plugin supports deeply nested objects and allows you to configure field names. Please see their documentation for more information.
View full tutorial with screenshots and examples

Send PDF document via email

Most of the transactional email APIs (e.g SendGrid, Mailchimp) allow you to add attachments to your email as base64 encoded content. You can use the PDF API - Generate Document Action with Output type set to base64 to attach the generated PDF file to an email.

You could use the Bubble SendGrid plugin to easily create a Workflow that generates PDF from your database object and sends an email with an attachment.
View full tutorial with screenshots and examples

How PDF Generator API works?

Don’t worry about the document generation layer in your software - we will handle it.

Users can edit and manage their templates

We provide a workspace logic that allows creating a separate workspace for each of your user where they can edit and manage their templates. A new workspace is automatically created whenever you make API requests with a new workspace identifier.

Every user has their own workspace

Allow your users to modify templates

You can embed the template editor into your application to allow your users to modify their own templates. It is possible to display the editor in a new window/tab or in an iframe.

Allow your users to modify templates

Share templates with your users

You can set up default templates that can be used as base templates by your users. Whenever they modify a default template a new copy is saved to their workspace.

Default templates for your users

Powerful Expression language

You can write mathematical and logical expressions to manipulate and customize values displayed in components. Use ternary, arithmetic, bitwise and comparison operators, functions to sum, join and iterate arrays.

Powerful Expression language

A wide range of smart components

You can use different components like Text, Table and Barcode and define formatting formats to number and date values. It is possible to group, filter and sort lists and tables without a need to modify the data set on your side.

Smart components

Merge template and data via API

Powerful REST API to merge templates with data from your software. Just send the template identifier and JSON data to get the PDF.

Merge template and data via API

What our customers say about us?

I would recommend PDF Generator API to everyone that needs to print something into PDF. Think about it: if you are creating software that focuses on accounting then you want to focus on accounting. You shouldn't waste time with coding fancy forms that you can easily drag-drop using PDF Generator API.
PDF Generator API allows our customers to quickly design and print multiple template types for Invoices, Picking/Packing Slips, Drop Notes, Address labels and pretty much any other document. Building a similar functionality in-house would have cost a lot of money in terms of resource.

Example templates

Here are some examples of what you can achieve with our editor, for more examples click here.

Form FDA 2253

Form FDA 2253

Monthly Report

Monthly Report

Proposal

Proposal

Create Your Free Sandbox Account