Sending Email on lesson completion using Pabbly

To automatically send emails when a learner completes a lesson, we can integrate the process using Pabbly.

  1. Configure the Trigger Event.
  2. Add a webhook URL for the trigger event on Learnyst.
  3. Configure the Action Event. 

Configure the Trigger Event:

  • Sign up for an account on Pabbly. Click on Connect.

    pab1
  • Click on Create Workflow and give a name to your Workflow.

    pab2
  • Choose Learnyst as the trigger application for the workflow.

    pabbly_sheets--11
  • Select the trigger event as Lesson Completed.

    quiz-30
  • Copy the webhook URL that you get after adding the trigger event.

Add the Webhook URL to Learnyst:

  • Go to your Learnyst account, navigate to Marketing > Integrations > Pabbly.

    quiz-14
  • Click on Lesson Completed and paste the webhook URL.

    quiz-32
  • Once you add the webhook and click Test & Save, a test webhook response will be captured on Pabbly.

Configure the Action Event:

  • Add Gmail as the action application.

    quiz-20
  • Choose the action event as Send Email and click Connect.

    quiz-22
  • Click Add New Connection and set a name for your connection
  • Authorize Google Access by connecting your Google account that you want to use for sending emails.
  • You will see blank fields such as the recipient's email, email subject, and more, where you can input and connect the user data.

    quiz-24
  • Map the data from the webhook response with the corresponding fields.

    quiz-36
  • Click on Save & Send Request
  • The email to the learner will be sent successfully on lesson completion. 

    quiz-40