The PDF Export by PDFCrowd plugin adds PDF conversion actions to Bubble
workflows. The actions convert a webpage URL, an HTML string or an HTML
file to PDF.
Set up the plugin
Install the "PDF Export by PDFCrowd" plugin.
Connect your PDFCrowd account by configuring the plugin's credentials.
Add an action for a publicly accessible webpage URL, an HTML string or an
HTML file. Use dynamic data from your Bubble database to prepare HTML content.
Optionally set PDF options such as page size, margins, headers and footers.
Get a downloadable PDF file URL to use in your workflows.
The following examples demonstrate how to use the PDFCrowd Bubble plugin
to convert HTML to PDF.
Enter your PDFCrowd username and API key
in the PDF Export by PDFCrowd plugin settings under Plugins.
You can run the examples without a PDFCrowd account by entering
demo in both credential fields.
Example 1: Convert a URL to PDF
Convert a public webpage URL to PDF. Replace the example URL with a page on
your website that PDFCrowd can access.
Workflow Configuration
Action:
Export URL to PDF
Parameters:
url: https://your-site.example/invoice/123
The action returns the PDF file data. You can save it to your Bubble database
or provide it as a download to the user.
Example 2: Convert HTML String to PDF
Convert HTML content directly - useful when generating PDFs from templates
or dynamic content in your Bubble app.
Use Bubble's dynamic data to generate HTML content from your database
records or user inputs.
Example 3: Upload and Convert HTML File
Upload an HTML file for conversion - useful for batch processing
or converting existing documents stored in your Bubble app.
Workflow Configuration
Action:
Export File to PDF
Parameters:
file: Select a file from your Bubble file uploader or database
Authentication
Setting Up Your PDFCrowd Credentials
The PDFCrowd Bubble plugin uses your
PDFCrowd API credentials
for authentication.
The plugin is configured to use your credentials from the plugin settings.
Required Credentials
username
Your PDFCrowd username - the same username you use to log in to your PDFCrowd account.
api_key
Your PDFCrowd API key (not your account password).
To get your API key, choose a license plan that includes API access.
Setting Up Credentials in Bubble
In your Bubble app, go to the Plugins tab
Find the PDF Export by PDFCrowd plugin
Enter your credentials:
username - set to your PDFCrowd username
api_key - set to your PDFCrowd API key
Save the plugin settings
Security Notes
Your API key is stored securely in Bubble's plugin settings.
You can regenerate your API key anytime from your PDFCrowd account if needed.
Each API request counts against your account's usage limits.
Error Handling
When a conversion fails, the plugin returns an error message explaining
what went wrong.
Common Errors
401 Unauthorized
Invalid username or API key. Verify your credentials in the Bubble
plugin settings. Make sure you're using your API key,
not your account password.
403 Forbidden
Service suspended or insufficient credits. Check your
PDFCrowd account for credit balance
and account status.
400 Bad Request
Invalid parameters or missing required fields. Check that you've provided
either a url, text, or file parameter.
430 Too Many Concurrent Requests
Too many simultaneous conversions. Your plan has a limit on concurrent
requests. Wait for current conversions to complete or upgrade your plan.