Learn how to integrate MailerLite with Razorpay and WhatsApp using Pabbly Connect to automate subscriber management and notifications. Follow this definitive guide to creating powerful automated workflows with straightforward, efficiency-focused solutions that save valuable time.

Watch Step By Step Video Tutorial Below


Accessing Pabbly Connect for Integration

To start integrating MailerLite with Razorpay and WhatsApp, you’ll first need to access Pabbly Connect. Go to the Pabbly Connect website and sign up or log in to your account.

Once logged in, navigate to the app section and locate the ‘Connect’ option. Click on ‘Access Now’ to start creating your workflow. This platform simplifies the integration process between Razorpay, MailerLite, and WhatsApp.


Creating a Workflow in Pabbly Connect

In this section, we will create a workflow that connects Razorpay to MailerLite and WhatsApp through Pabbly Connect. Click on the ‘Create Workflow’ button in the top right corner and name your workflow, for example, ‘Razorpay to MailerLite and WhatsApp’.

After naming your workflow, you will see two windows: the trigger window and the action window. Set the trigger event to ‘Payment Captured’ from Razorpay, which will initiate the workflow whenever a payment is made.


Setting Up Webhook in Razorpay

To connect Razorpay with Pabbly Connect, you need to set up a webhook. Go to your Razorpay account, navigate to ‘Settings’ and then to ‘Webhooks’. Click on ‘Add Webhook’ and paste the webhook URL provided by Pabbly Connect.

Make sure to leave the secret field empty and set the active event to ‘Payment Captured’. This setup ensures that every successful payment will send data to Pabbly Connect, enabling further actions to be taken.

  • Go to Razorpay Settings > Webhooks.
  • Click on ‘Add Webhook’.
  • Paste the webhook URL from Pabbly Connect.

After creating the webhook, test it by making a dummy payment in Razorpay. This will allow you to check if Pabbly Connect is receiving the payment data correctly.


Integrating MailerLite with Pabbly Connect

Next, we will add the subscriber to MailerLite using Pabbly Connect. In the action window, select MailerLite and choose the action event as ‘Add Subscriber’. Connect your MailerLite account by entering the API key, which can be found in your MailerLite account settings.

Once connected, map the necessary fields such as email, first name, and last name. If you only have the full name from Razorpay, use a text formatter to split the name into first and last names. This ensures that all subscriber information is accurately captured in MailerLite.

  • Select MailerLite and choose ‘Add Subscriber’.
  • Connect using the API key.
  • Map fields like email and name appropriately.

After mapping, save the configuration and test to ensure the subscriber is added successfully to MailerLite.


Sending WhatsApp Notification Using Pabbly Connect

Finally, we will send a WhatsApp notification to the customer using Pabbly Connect. Add another action step and select Wati as the app, then choose the action event as ‘Send Template Message’. Connect your Wati account by providing the API endpoint and access token.

Map the required fields such as WhatsApp number, template name, and custom parameters. The template will include personalized messages confirming the order details. This integration ensures that customers receive immediate updates about their purchases.

Select Wati and choose ‘Send Template Message’. Connect using API endpoint and access token. Map WhatsApp number and message template correctly.

Once everything is set up, save and test the workflow. This will send a WhatsApp message to the customer confirming their order, completing the integration process.


Conclusion

In this tutorial, we demonstrated how to use Pabbly Connect to integrate MailerLite with Razorpay and WhatsApp. By following these steps, you can automate subscriber management and ensure timely notifications for your customers. This integration streamlines your workflow and enhances customer engagement.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.