Articles on: External Integrations

Conditional triggers

Okay, you've added a Webhook trigger to your group of modules (section) in a learning path. Great! But how do you use this trigger? The possibilities are endless, and you can get quite creative. Here are some ideas:

Send an email to your own email address or the user's email.
Enroll the user in an email list.
Set the user to inactive.
Remove the user from e-learning/learning path.
Grant access to the user for a new learning path.
Send yourself a Slack message.
Forward a submitted file to Google Drive.
... The possibilities are endless, actually.

But how does it work?



Use Webhook with Zapier



You can directly use the webhook with Zapier. All you need to do is create a Zapier account and link the webhook to a zap. We've described a fun example later in the text.

For a multi-step Zap, you need a paid Zapier account. Get one starting at €20.21/month and try it for free. Additionally, you need a paid Pluvo subscription.

Use Webhook with your own platform/API



We can configure the webhook for your organization to point to a URL of your own platform. This way, a developer can work directly with the webhook. For this, you'll need a Pluvo Premium account. Contact us for more information.

You can utilize the Webhook trigger in two ways.



1. In the submission task



Place the trigger alongside the submission task in the section of the learning path, and the trigger will fire every time someone uploads a file. Super handy if you want to collect files not only in Pluvo but also outside Pluvo.

2. When the section's conditions are met.



When the condition of the learning path section with different modules is met, the trigger will be sent. This feature is excellent if, for example, you want to remove a user from the learning path after completing it.

Note: This condition-trigger fires once per user per trigger. If you want this trigger to fire again for a user, you'll need to save the learning path section again. This will resend all completed triggers.

Now, let's get started with a conditional example:

Using Webhook for a Zap in Zapier



To give you a head start, here are instructions below. We'll use a trigger to send yourself an email when the condition of 1 week after starting is met.

Adding a Trigger to Pluvo



You add a trigger by going to your learning path and adding the Webhook module there.

Choose the Webhook module from the list of modules.



Copy the reference and click save.



Set a condition on the module group



By setting a condition on the module group, the Zapier trigger will be sent when this condition is met by the participant.

Copy the fields below and save.



Now, everything is set in the module, and the Zapier module will be triggered when a participant has been in the learning path for a week.

Let's head to Zapier to specify what we want to happen next with the trigger.

Creating a Zap trigger in Zapier



Create a new zap and search for the app Pluvo with the trigger "**Module Group Unlocked**."
Under 'Find data', you'll see data from Pluvo that you can use for the next steps.



Add the helper app 'filter' with the plus button below. This allows you to filter the zap to let it pass only if the trigger has a certain reference.



The next step will be sending an email with the details from the trigger. (This can be anything you want the trigger to do now.)

Choose the 'Send email by Zapier' option to forward the email.



After clicking continue, fill in the fields you want to receive in the email. Include details such as who opened the module, which learning path, which section, and what condition caused this. Fill these fields in the body with an explanatory text so you can understand the context. Set the 'To' field to your email address and 'From' to the participant's email. This way, you can quickly reply if needed.



Click continue, test the zap, and turn it on. Done!

As you can see, it's straightforward to use a Zapier module open trigger to trigger whatever you want.

Best of luck!

Updated on: 05/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!