Skip to main content

Sending Course Answers to Google Sheets with Pipedream

Add a new row to a Google spreadsheet every time a learner completes your course, using a webhook. Courses were previously called mini-courses.

Written by Eren Gunduz

If you ask your learners questions in your course and keep their answers in a report, you can have that report update automatically whenever someone completes your course.


Mini Course Generator already gives you an Excel report for each course. It includes every answer your learners gave to each question.

Download it from your course’s Analytics tab:

ℹ️ Webhooks are available on the Pro plan and above. Steps in Pipedream and Google Sheets may look slightly different from the screenshots below.

If you don’t want to download the report each time to see new data, you can use an automation that updates your spreadsheet instead: connect your course to a Google spreadsheet with a webhook you create on Pipedream.


Pipedream is a tool for creating webhooks for free. If you do not have an account, create one from their website.

You can create “workflows” in Pipedream. A workflow is an automated process that involves one or more apps. Here, the workflow gets your learners’ answers from the course you choose and adds them as a new row to the Google spreadsheet you select. Let’s get started.

Create a workflow by clicking on the New workflow button.

Change the name of your workflow and its settings on this pop-up. Settings change the amount of the credits spent.

You can select a “trigger” now. Choose “HTTP / Webhook”.

Then, pick “New Requests”.

In the upcoming window, leave the default settings as they are and click on “Save and continue”.

Pipedream will generate a custom webhook URL for you and represent it as follows. Copy this webhook URL.

Go back to Mini Course Generator, open your course and go to Settings › Webhook. Paste the webhook URL and turn on Course completed. Changes are saved automatically.

Now test the webhook. Complete your course once as a learner to create a test record for Pipedream. Answer every question you want in your spreadsheet. Then head back to Pipedream and click on “Select Event”. Your test will be listed there; select “POST” as follows.

Your test answers will be sent to Pipedream. You can view the data listed by page ID under event>body>cards.

You can view the data of a page by clicking on its ID. Your test answers will be visible there. Click on “Continue”.

Then, in the upcoming window, choose “Add Single Row to Google Sheets”.

In the upcoming window, you will need to connect your Google account. If you do not have one, you can sign up.

After you sign in to your Google account, to complete your workflow, you need to authorize Pipedream to see, edit, create, and delete all of your Google Drive files. Then, click on “Continue”.

After you connect your Google account, you can select a spreadsheet. All spreadsheets present in your Google account will appear in the options. If you do not have a spreadsheet, you can create one from here.

You can name your spreadsheet from the upper left corner as follows.

On Pipedream, select the spreadsheet where your course data will be added in the “Spreadsheet” box. You can target a specific sheet in the “Worksheet ID” box. If your spreadsheet has no header row, pick “False” in the next field. If it does, pick “True”.

In this example, the course has 1 single-choice survey question, 4 quiz questions with a single correct answer and 1 open-ended feedback question. It also collects the learner's email address.

Therefore, we put headers on the first row as follows: “Username, Coffee Preference, Quiz 1, Quiz 2, Quiz 3, Quiz 4, First cup of coffee”.

After choosing “True” for first row of sheet having headers, our headers appear as shown in the video below.

Watch the video below to see how you pick your data.

👀 If your course is Public, no email address is collected. A random ID is sent for each learner instead.

After you test the workflow, go to your spreadsheet and check if the data is added to your report.

Go back to Pipedream. You can check to what range of your spreadsheet the data is added. Click on “Deploy”.

Congratulations, you are done!


Reminders

  • If your questions are in the middle of your course and you want a new row in your spreadsheet when someone answers them, even if they don't finish the whole course, turn on Page completed instead. It sends data to Pipedream after every page, while Course completed sends everything once at the end of the course.

    Note: You will then get a new row in your spreadsheet for every page a learner completes.

  • Turn on either Page completed or Course completed, not both. Using both may complicate the results.

  • If you definitely need an answer to a question, keep it required. Questions are required by default: in the page settings, The user can't pass without answering this question. is on, so learners can't continue without answering.

  • Pipedream will currently let you use up to 10 credits per day for free. However, you need to proceed with a premium plan for more credits.

  • An alternative tool to Pipedream is Zapier. Zapier is fully integrated with Mini Course Generator and gives you more options than the webhook. See their website for details, and our guide on Enable access with Email verification for exporting email addresses with Zapier.

  • An alternative tool to Pipedream is Make. It is a well-known tool for webhooks. Additionally, Make is fully integrated with Mini Course Generator, allowing more options than what our webhook provides. You can check out their website for detailed information. Check our guide on how to certificate your learners using Certopus through Make.

FAQ

Do I have to answer every question in my test run?

Yes, answer every question you want in your spreadsheet. The webhook only sends the pages the learner answered, so a page you skip in your test run won't appear in Pipedream, and you can't map it to a column.

If you add a question to your course later, complete the course again as a learner, select the new event in Pipedream and map the new answer.

What is the score value in each page?

The score inside every page is the learner's overall course score, not the score of that page. To see whether a single quiz answer was right, use isCorrect for that page.


❓ Please reach out via the Blue Chat bubble in the bottom right corner of your screen if you have any questions about the Google Sheets integration.

Did this answer your question?