[SOLVED] How to show PDF Conjurer's saved PDF on page

Hello,

I have a form for users to create an invoice. The resulting invoice is turned into a PDF and saved to the database but I can’t get the PDF to save to the Invoice’s data type?

My workflow:

  1. Trigger a custom event to save the invoice. The invoice and invoice’s list-items are saved to a custom state.
  2. Trigger a custom event to create PDF (using PDF Conjurer).
  3. Make changes to the invoice - this is where I am trying to get the PDF data into the Invoice’s data type (see below)

Can anyone see where I am going wrong? Feel free to view my project, the invoice is created in a group called ‘create-invoice’.

Thanks!

https://bubble.io/page?name=index&id=invoicing-app1309&tab=tabs-6&subtab=General

1 Like

Hey @darren.james7518 :wave:

I think you need to be saving the pdf with this workflow. The issue is that the pdf is not created yet when you are trying to save it.

Create a new workflow with this event. Hope that helps. :blush:

1 Like

Thank you for looking into this. Ok I think I see what you mean … testing now!

Yes! Thank you @J805 that was the solution. Really appreciate it, I spent hours on this today!

1 Like