PDF Generator won't generate

When I first created the tool everything worked. It was a bit unpredictable with insertion of graphics but not so much of an issue that I couldn’t live with it.

Now… It just doesn’t work. Says it’s generating a PDF but no PDF is generated. I’ve modified the instructions and changed the AI model. No success.

Any suggestions?

1 Like

Hey @idance-2 check out one of my earlier threads on this PDF Generator (Modified)

Let me know if you still need help after

Hey @Ned.Malki Thanks.

I couldn’t see how you ultimately resolved this but looking at the video gave me ideas. I’m not a coder but could follow along. It took HOURS primarily because I wanted to produce a letter to be filled with user input. I struggled with how to get Pickaxe to use my form, or a chat to collect the data. Then I had an Idea. I used the AI generator and fed it the variables that ChatGPT helped me with

And plugged this into the PA Ai along with simple but careful instructions on the result I wanted. “def omars_pdf_generator(studio_owner_name: str, studio_owner_email: str, head_teacher_honorific: str, head_teacher_first_name: str, head_teacher_last_name: str, academic_school_name: str, academic_school_address: str, representing: str, list_of_students_at_academic_school: str):
“””
Allows the user to generate a PDF. The PDF will be generated from HTML

Args:
    studio_owner_name (string): Name of Studio Owner or Crewleader
    studio_owner_email (string): Studio owner email
    head_teacher_honorific (string): e.g. Mr. Ms, Dr. Rev, etc.
    head_teacher_first_name (string): Head's first name
    head_teacher_last_name (string): Head's last name
    academic_school_name (string): School Name
    academic_school_address (string): School Address
    representing (string): Dance Studio or Dance Crew Name
    list_of_students_at_academic_school (string): The name of each student needing time off, comma separated."

Then, Violá! Result. I had to clean up the html with css but generally happy with the result. Now… because it’s Ai I expect it to be broken but so far so good. https://hiphopinternational.co.uk/head-teacher-permission-request/ if you want to kick the tires.

My goal is to get all these things working for me, then packge them into a studio as a service.

1 Like

Hey @idance-2 I created a new and detailed PDF Generator How To Guide and added an Action Code template! Check it out here: