How Can I Make This Work?

What I want to do is create PDFs in a backend workflow that can be emailed out.

What I would like to do is design a Bubble page that displays as I like it for a user. I understand that if I used a plugin, that page could be converted into a PDF, for example on a button push.

But I also understand that using outside services via API call, then if I can ship them the html, then they can generate the PDF.

On the backend workflow, what I would like to do is for each user on a list, is the following:

  1. Get the html for that bubble page as if the user rendered it
  2. Ship to the outside service to generate the pdf
  3. Store the PDF on return
  4. Send out to the user via email as an attachment

Am I thinking about how to approach this correctly? If so, how would I render the page in the backend and capture the html?

Thanks in advance for any help.

Explore these two plugins:

1 Like

Sure, it can be done.

I assume there is unique data per user. So you would have to build the page to display the data when the user is not there.

So just have a page with the data source so the url is app.io/page/uniqued_id
If you send this link to external API it will generate nice looking page in pdf or whatever you choose.

Just remember the data must be saved somehow by the user and it must be available for the api so it cannot be private. If it is private you need to find workaround for this e.g. “opening the data” for a sec when do API does it’s work.

Not sure if you can simply send the html tho