Skip to main content

Adding Learners to Mailerlite with Pipedream

Add learners to your Mailerlite list automatically when they complete a course. Courses were previously called mini-courses.

Written by Eren Gunduz

If you use your course for lead generation, such as collecting your learners' contact information for email marketing, you can add learners to your Mailerlite list when they complete a course.

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

It is possible for your learners to subscribe to your mailing list through Mini Course Generator, and you can automate this with Pipedream and Mailerlite. To collect email addresses, set your course's or learning path's authentication to Email verification, so learners verify their email before they start. See Enable access with Email verification.

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 represents an automated process that involves one or more applications. In this case, it will allow us to create a workflow that will get the learners' email address information from Mini Course Generator and create a new subscriber in Mailerlite using this email address information. 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. 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”.

Before you proceed, it is best to have a Mailerlite account. Mailerlite is a mailing tool that has a free plan, used mainly for e-mail marketing. You can visit their website for detailed information. If you do not have an account, sign up.

Go back to Pipedream. In the upcoming window, select Mailerlite as application and “Create Subscriber” as action.

Connect your Mailerlite account to Pipedream. In the upcoming window, you need to enter your Mailerlite account’s API address. If you do not know how to get it, click “here” in the window and Pipedream directs you to it. Copy and paste the API key in the related field and click “Save”.

After you connect your account, find “uniqueId” data from Mini Course Generator and select it for the Email box. Choosing this data will allow Mailerlite to get the email address of your learner and add it to your subscribers.

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

Now, click on “Test” to see if the automation works.

When the test is completed, go back to Mailerlite and check if the test is successful. You should see the newly added e-mail address in your Subscribers as shown in the image below.

Finally, go back to Pipedream and click on “Deploy” button to make your workflow go live.

Congratulations, you are done!

Reminders

  • To get the learner’s email address when they finish a page, even if they don’t finish the 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: Pipedream will then try to add the learner’s email address to your list after every page they complete.

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

  • 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.

  • Mailerlite will currently let you have up to 1,000 subscribers for free. However, you need to proceed with a premium plan for more.

FAQ

Can I add my learners' names to Mailerlite too?

The course webhook sends the learner's email address as uniqueId, but not their name.

If you also want names in Mailerlite, use the Mini Course Generator Course Completed trigger in Zapier or Make instead of the webhook. It sends the learner's Name and Email, so you can map both to your Mailerlite subscriber.


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

Did this answer your question?