Services Plugins FAQs

Bubble Page to PDF Converter - Send Email

I was trying a few things to generate the PDF and then send an email with it (attached or embedded).
I tried to send right after the “generate” but that did not work. I also tried another event “When ConvertertoPDFv2.0 A Converting is finished” - but that never seemed to get triggered.
I am pretty new to Bubble - so I am sure I am missing something simple. I had seen the generate and write to the database - but in my page I don’t need to write this to the database (unless that is the only way to get this completed).

FYI - I added a 15 second pause which is way long enough for the content I have - but I can’t get the URL of the PDF to show in anything - an alert - text box - insert into database - it is like the URL is empty. I get the PDF in my download folder and it automatically popups up in my Adobe Reader. I am sure it is something simple I am missing - but can’t see to get this last puzzle piece in play.

Okay I think I found the issue - the “yes” was not entered in the File Uploads Enabled. I know I had it set to “yes” at one point - but my guess is I deleted the element and re-added it to the page.
I will post back if I have another issue on this - but I think this will fix my current item.

Hi @jsbooker00
Thanks for reaching out!

In order to save the resulting PDF file into the database, please follow the steps below:

  • Activate the Upload file to AWS checkbox; Screenshot by Lightshot
  • Add an event “When ConvertToPDF A converting is finished
  • Add the action Create a new thing, Type = database table where you want to save the PDF URL; Screenshot by Lightshot
  • Set the field “PDF URL” (the column name where you’ll save the file URL) = ConvertToPDF A’s Output File URL Screenshot by Lightshot

Also, please note that the result of the plugin work is a URL to the converted file, not a file itself. That’s why you should create a data type “text” in your app data. So, please make sure the “PDF URL” is “text” in your database. Screenshot by Lightshot

Please let me know if you have any further questions.

Best,
Gulce