Learn how to automate Mailgun member creation upon Razorpay payments using Pabbly Connect. This step-by-step tutorial covers everything you need to know. Transform complex automation concepts into accessible, actionable steps that eliminate unnecessary manual work while maximizing existing application capabilities.
Watch Step By Step Video Tutorial Below
1. Accessing Pabbly Connect for Razorpay and Mailgun Integration
To start automating Mailgun member creation on Razorpay payments, you first need to access Pabbly Connect. Open your browser and type the URL Pabbly.com/connect. This will take you to the Pabbly Connect homepage.
Once on the homepage, you will see options for signing in or signing up. If you’re a new user, click on the ‘Sign up for free’ button to create an account. Existing users can directly log in by clicking ‘Sign in’. After setting up your account, you will have access to 100 free tasks every month to explore automation.
2. Creating a New Workflow in Pabbly Connect
After logging into Pabbly Connect, navigate to the dashboard where you can create a new workflow. Click on ‘Create Workflow’ and enter a name for your workflow, such as ‘Create Mailgun Member on Razorpay Payment’. This name will help you identify the workflow easily later on.
Next, select a folder for your workflow. For this automation, you might want to create a folder named ‘Email Marketing Automations’. Once you have named your workflow and selected a folder, click on ‘Create’. This will open a blank workflow screen where you can set up your triggers and actions.
- Click on ‘Create Workflow’ in the dashboard.
- Enter a name for your workflow.
- Select a folder for organization.
Now that you have created your workflow, it’s time to set up the trigger and action. The trigger will be Razorpay, and the action will be Mailgun. This setup will ensure that every time a payment is received through Razorpay, the customer is automatically added as a member in Mailgun.
3. Setting Up the Trigger with Razorpay in Pabbly Connect
To set up the trigger, select Razorpay as your trigger application in Pabbly Connect. You will then need to choose the trigger event, which should be ‘Payment Captured’. This event will initiate the workflow whenever a payment is successfully captured.
Once you select the trigger event, Pabbly Connect will provide you with a webhook URL. This URL needs to be added to your Razorpay account to facilitate the data transfer. Copy the webhook URL and navigate to your Razorpay dashboard. In Razorpay, go to the ‘Accounts and Settings’ section, then click on ‘Webhooks’ and select ‘Add New Webhook’.
- Select Razorpay as the trigger application.
- Choose ‘Payment Captured’ as the trigger event.
- Copy the webhook URL and add it to Razorpay.
In the Razorpay webhook settings, paste the copied URL and configure the active events to include ‘Payment Captured’. After saving the webhook, return to Pabbly Connect to test the webhook response. This step is crucial for ensuring that your integration is functioning correctly.
4. Connecting Mailgun as the Action in Pabbly Connect
With the trigger set, it’s time to configure the action step in Pabbly Connect. Select Mailgun as your action application and choose the action event ‘New Mailing List Member’. This action will add the customer as a member to your specified Mailgun mailing list whenever a payment is captured in Razorpay.
To establish the connection, you will need to enter your Mailgun API key, private API key, Mailgun host, and the domain name. You can find these details in your Mailgun account under the ‘API Security’ section. Make sure to copy the correct values and paste them into the respective fields in Pabbly Connect.
Select Mailgun as the action application. Choose ‘New Mailing List Member’ as the action event. Enter your Mailgun API key and domain details.
After entering the necessary details, click on ‘Save’ to establish the connection. Now, you can map the email address and other customer details from the Razorpay response to the Mailgun action fields. This mapping ensures that each new customer who makes a payment is automatically added to your mailing list.
5. Testing the Integration and Finalizing the Workflow
To ensure everything is working correctly, perform a test payment on Razorpay. Use a test payment link and fill in the customer details. Once the payment is successfully completed, return to Pabbly Connect to check if the response has been captured successfully.
If the response shows the correct customer details, your automation is set up correctly. You can now check your Mailgun account to confirm that the new member has been added to your mailing list. This integration will now run automatically, adding new members to Mailgun for every payment captured through Razorpay.
This seamless integration between Razorpay and Mailgun using Pabbly Connect enhances your email marketing efforts, allowing you to maintain communication with your customers effortlessly. Automate your processes today and improve your business efficiency!
Conclusion
In this tutorial, we demonstrated how to automate Mailgun member creation upon Razorpay payments using Pabbly Connect. By following the steps outlined, you can streamline your email marketing efforts and enhance customer communication.
Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.
- Check out Pabbly Connect – Automate your business workflows effortlessly!
- Sign Up Free – Start your journey with ease!
- 10,000+ Video Tutorials – Learn step by step!
- Join Pabbly Facebook Group – Connect with 21,000+ like minded people!