Hi guys!
I have a request from a client that I am not too sure how to go about.
Context
Client wants their leads to fill out a “Financial Calculator Request Form”. This form would take in basic client metadata, along with a few fields for financials (i.e. mortage, APR, etc). Then, that form would automatically fill out a few fields in a new copy of the boilerplate, blank GSheet of this financial calculator. Then, that “prefilled” copy would be automatically then emailed to the client (from their email field in the form originally) so the client could get the “Financial Calculator” with the fields already filled out from the form, so they can get started “calculating” easier.
Their requested flow:
- User fills out a basic form with a few financial data pieces
- Submits form
- [Automation?] That form data is injected to a copy of a “Boilerplate” Google Sheet
- [Automation?] That copy of the GSheet is then emailed as an .xlsx file to the client, from the “Email” field in the original form
I have no idea how to go about automating this. I imagine it stars with a Webhook from the form, but I’m not sure of the environment to develop the rest.
If anyone has any ideas, that would be amazing!! Thank you!
Hi! I guess there is not direct answer to this, just some ideas.
Ideas
-
For Google Sheets, you can use Google Apps Script Web Apps | Apps Script | Google Developers … where you can create a script (and pass some url params) … I haven’t done it … so I don’t know to much
-
Instead of generating a new Google Sheet you just send a PDF converted from a HTML page
- Use Integromat to create an automation flow:
- Define a webhook endpoint in Integromat and assign this endpoint to your form
- Create a step in Integromat to save the data (on a Google Sheet for backup)
- Before hand, create a HTML page using plain html+css+js with your sheet
- Create a step to convert the page HTML to a PDF with a service (API call) like: https://html2pdf.app/ or HTML to PDF API … or use this service for HTML to XLS How to successfully convert HTML to PDF
- Create a step to create an Email and attach the result from the previous step
- Create a step to send a Email copy
2 Likes
Thank you so much for helping me look in the right direction @Lucian_Dinu !
1 Like
Lol just had to post back @Lucian_Dinu
We shared the possible steps after more discovery with our client - they freaked out at the cost and workload and said “nevermind”.
Of course XD
3 Likes