Export Form Submission (from GHL) As PDF

Describe the problem/error/question:

Hey there!

I apologize if I sound a little lost here. I am new to N8N and automation processes. Been learning for about a month now.

See, I was looking for a way to automate PDF submissions from GHL forms. I was thinking of: submitted form–> becomes a PDF → gets sent through email.

I found a post explaining how to do it (I will paste the picture), but I got stuck in the first step, as I’m unsure of how to even pass the information from the Webhook into N8N correctly. How do you achieve a proper setup in this case?

Please share your workflow

I only have a Webhook, nothing else, because I have no idea how to transfer the information from one side to another.

Information on your n8n setup

  • n8n version: [email protected]
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: Windows

Hi there, welcome to the community

can you share how does the response of your webhook looks like?
if it’s in a json response where all the field in a form is mapped

then i think the flow will be like this based on the conversation image that you showed above

  1. your webhook trigger
  2. custom google docs api node to create document (you need to use the http node because as of now, the google docs node can only create document with only the title)
  3. map the webhook response to the google docs create document http node, you can see here on the documentation of the api n where to put what fields Method: documents.create  |  Google Docs  |  Google for Developers
  4. then you use the google drive node to find your document
  5. once you find it, you use google drive node to also download it, there’s an option to convert the google docs file to PDF, dont forget to do that
  6. and get the pdf link and do the rest of your workflow

done,
if this helps please give it a like and mark it as the solution, thank you