member tips

Creating customized reports from your typeform responses - a year end recap post 💫

  • 18 December 2023
  • 8 replies
  • 345 views
Creating customized reports from your typeform responses - a year end recap post 💫
Userlevel 7
Badge +6

Twas the week before Christmas and all through the house, was the smell of fresh gingerbread - we’re making a house.

 

And so, as the preparations for the holiday season are well underway, I thought I would revert back to one simple ‘trick’ I have used many times. Creating personalized reports from the responses to a typeform.

 

I’ve done a bunch of Community posts on the elements of this. I even hosted a Community Workshop on how to do this - the link will be posted down below so that you can watch the video and get access to a bunch of supporting info.

 

Why?

 

You can only do ‘so much’ with the endings in Typeform to give folks a customized report.

 

So what?

 

If you want to send them a PDF document that is customized based on the responses given by the user, then you have to look outside native Typeform.

 

Here’s the toolset:

  • Typeform
  • Google Sheets
  • Google Docs/Slides
  • Document Studio - from Digital Inspiration (spend the $100 USD to get the Enterprise version - well worth it)

 

Now I am making the assumption that you have Gmail for the purposes of this article but Document Studio supports a number of email platforms. I use Google Workspace for my business so Gmail it is.

 

I’ll give you the basics here but you can watch in more detail in the Typeform Community Workshop video.

 

Step 1 - create your typeform

  • Make sure that the email question is required - I may sound like Captain Obvious here but you need to be able to send the output email and report to somewhere
  • Connect your typeform to Google Sheets - you’ll need the data over there for this to work AND it’s a good idea to have the backup copy of your data outside of Typeform
  • Publish it and create a test record with your email (or a test account email that you use)

 

Step 2 - create a Google Doc or Slide template

  • this will contain both the static text and the ‘markers’ (what Document Studio calls them) or placeholders for the dynamic/customized text from the typeform that you are going to show on the slides.
  • Here’s an image of a simple one that was used in the workshop - note the that are around the Google Sheet field names. That’s how Document Studio needs the ‘markers’ to be defined.

 

 

Step 3 - create an extra tab in your Google Sheet for reporting purposes

  • When you Connect your typeform to Google Sheets, the column headers in the main Sheet tab are the text of the questions - they can be exceedingly long
  • Create a tab called Report - or something similar - and then create some simple column headers for each question: like ‘name’ and ‘course’ from the image above
    • Name is much easier than the question text in typeform - “Please enter your first name so that I don’t have to call you ‘Hey You’”
  • Use the arrayformula() function in Google Sheets to pull the data from the main response tab into the appropriate columns
    • Using this function will automatically pull each new typeform submission from the first tab to this reporting tab and have the data ready for use in the PDF file creation and send process
    • More details in the workshop video and the post in the Community has a link to the sample arrayformula’s that I used - you can check those out

 

Step 4 - create your Document Studio workflow

  • This is where we use Document Studio to create a workflow with two (2) tasks - create the PDF file and send the email with the file attached. All the steps are shown in detail in the workshop video - I’ll give you the highlights below
  • Assuming that you have acquired and installed the software (it’s really simple to do) then the following steps will get to the end goal:
    • Create a new workflow and give it a name
    • Select the Action to create a PDF file
    • Identify the merge template (your Google Slide/Doc), the folder in which the output files should be stored, the name of the output file and the type ie PDF.
    • You can test this action in the workflow now - to see that the correct fields of data are shown in the markers in your output template - or wait and test both steps in a few minutes.
    • Once you save this first action, choose to Send Email and follow the steps to identify the email provider, create the content of the email and to ensure the PDF file is attached.
    • Save the action
    • Now you can test both - choose Save and Run the workflow. This will allow you to generate the PDF and have the email sent to your account/test email account.
    • Once you have validated that the email displays your content correctly and has the PDF file attached, you can set the ‘when to run’ options for the workflow and save the entire thing.
      • I recommend that you set it to the “every hour” option - the workflow will run in the background every hour and will catch all the entries that have been submitted since the last run

 

That’s the highlight reel - or maybe the Readers’ Digest - of the steps to create a customized report for your typeform respondents. You can make the template as deep and complex or extremely simple as you wish.

 

If you didn’t catch the workshop in the Community, you’ll see that there are three different scenarios that were covered using these tools. Hopefully you can find all the details that you need over there.

Here’s the link to the Typeform Community post with the video and all the resources/links you might need to get going on this!

 

As always, if you have any questions, feedback or small unmarked bills you want to throw my way, please hit reply and tell me what you think.

 

Cheers

​des


8 replies

Badge

Hi John, thanks for teaching me this a few years ago!

 

Do you have issues with lag though on the run every hour?  I’m constantly finding it isn’t running smoothly every hour?  And it’s a big corporate set up so I need it to run more reliably.

 

It’s the same set up you use, Typeform > Google Sheet > Doc Studio

Is there a way to have it run on every Google Sheet entry?

Userlevel 7
Badge +6

@Sawski88 - i’ve not seen any issues  from the clients where i have set this up for them. yes it could be a max of an hour, depending on the time-sweep of the Doc Studio polling, but one client has about 800 reports per hour that they generate coming out of the end of month expense form inputs and they haven’t raised any issues with me. 

you can experiment with the timing ie ‘on submission’ but that is really geared by Doc Studio to work with Google Forms and not Typeform. You can also raise an ask at Doc Studio for suggestions there.. 

 

not much help in the above, i know but… i’ll check with the folk at Doc Studio to see.. 

 

des

Badge

The guy at Doc Studio just won’t reply to me at all!

From the logs this morning, there was a new line at 8.53, and it hasn’t been processed yet nearly 4 hours earlier.  It’s so frustrating because within the Typeform itself we’ve said “you will receive your results without an hour”

Badge

it’s worse than that! On another one, it hasn’t run the process since 07:43 YESTERDAY morning, about 28 hours ago!

Userlevel 7
Badge +6

@Sawski88 - i am running tests across 5 different typeforms that send out Document Studio reports - from 8:20 - 8:22 am eastern time. I will check back shortly and let you know if i see any issues at my end. 

in the interim, you can ‘run workflow now’ if you need to clear out the backlog.. 

des

Userlevel 7
Badge +6

@Sawski88 - first one back at 8:26 - see the time stamp inthe google sheet entry (5 hr difference from the UTC time in the sheet - so 8:21 and change for entry

 

 

 

will have to wait on the others to report - and here is the update 

  • they all reported creating and sending the email and emails received by 850 eastern time. 

i’m thinking something is funky at your end - which is evident from your posts. not much i can do other than suggest looking at your ‘daily limits’ in terms of the number of reports you can send out from document studio - my gmail workspace limits me to 2k per day.. .

 

just a though

des

Badge

@john.desborough Are you in contact with Amit? He won’t reply to me, but the run on hour is just not working reliably.

Userlevel 7
Badge +6

@Sawski88 - on vacation this week but any time i have contacted he has replied reasonably quickly.. 

i had checked with other users and they are not seeing issues .. will check back in next week when i return to work

 

des

Reply