Fed up with manually sending emails to the Stripe customers on subscription cancellation? Well, then this is the place for you as here in this blog we will tell you how to send Mandrill emails when Stripe subscription is cancelled automatically via Pabbly Connect.
So basically, Stripe is a payment processing platform that helps businesses of all sizes. Whereas, Mandrill is a transactional email infrastructure service. It was designed specifically to handle transactional emails such as password resets, welcome messages, order confirmations, etc. Hence, by integrating Stripe with Mandrill, you can easily send emails via Mandrill to the Stripe customers on their subscription cancellation automatically in real-time.
In today’s blog, we will be integrating Stripe with Mandrill via Pabbly Connect. It is a fantastic integration and automation software, which allows you to integrate two or more applications and automate all the projects. You just have to do the integration once and then everything will be automatically taken care of by Pabbly Connect.
Why Choose This Method Of Integration?
In contrast with other integration services-
- Pabbly Connect does not charge you for its in-built apps like filters, Iterator, Router, Data transformer, and more
- Create “Unlimited Workflows” and smoothly define multiple tasks for each action
- As compared to other services which offer 750 tasks at $24.99, Pabbly Connect offers 50000 tasks in the starter plan of $29 itself
- Unlike Zapier, there’s no restriction on features. Get access to advanced features even in the basic plan
- Try before you buy! Before spending your money, you can actually signup & try out the working of Pabbly Connect for FREE
Other than this integration, the software also offers many other useful features:
- Create unlimited workflows without any restrictions
- Unlimited premium apps
- Set unlimited triggers, unlimited actions to those triggers
- Path routers
and the noteworthy part is that you can access all the features even with the free plan.
Thereby, without wasting any more time, let’s get started with the blog about how to send Mandrill emails when Stripe subscription is cancelled.
Step 1: Sign up to Pabbly Connect
We will start the process to send Mandrill emails when Stripe subscription is cancelled by visiting the website of Pabbly Connect and then click on the ‘Sign-Up Free‘ button. On the registration page, either signup using an existing Gmail account or manually fill out the form.
Try Pabbly Connect for FREE
Once you have completed the signup process, click on the Connect section in the dashboard to access Pabbly Connect. Start with creating a workflow for your project by clicking on the ‘Create Workflow’ button. Now, you need to name the workflow just like in the above-shown image. I named the workflow as “Stripe to Mandrill”, you can obviously name the workflow as per your requirements and needs. After naming your workflow, you have to select the application you want to integrate. Pabbly Connect allows you to integrate unlimited premium applications, create your free account now. Now, you have to select the application that you want to integrate. In this case, we are choosing “Stripe” for integration. After selecting the application select “Cancelled Subscription” in the choose method section. After selecting the application, now you have to copy the webhook URL just like in the above-shown image to take further the integration process. To connect Stripe with Pabbly Connect, you have to paste the copied webhook URL in your Stripe account, for that, you need to log in to your Stripe account. To paste the webhook URL, click on the “Developers” option in your Stripe dashboard and then select the “Webhooks” option. After reaching the webhooks page of the Stripe account, click on the “Add Endpoint” button. Next, paste the webhook URL and select “Subscription Schedule Canceled” from the event to send section, and then hit the “Add Endpoint” button. To check if the integration is capturing data or not, we will cancel a subscription from the Stripe account. Now to cancel a subscription, click on “Customers” and then click on the “Subscriptions”. Next, you have to select any customer and then click on the given three dots at the end of the customer description then click on the “Cancel Subscription” option. A dialogue box will appear on your screen, simply click on the “Cancel Subscription” button. But before that, click on the “Capture Webhook Response” button in the Pabbly Connect dashboard. As soon as you click on the “Cancel Subscription” in Stripe and “Capture Webhook Response” in Pabbly Connect the entry will appear on the Pabbly Connect dashboard. Then, click on the “Save” option. In this step, we will be adding two actions for your trigger to complete this integration process. The first action of Stripe to extract the customer’s info like name, email, purchase, etc from the customer ID that we got in the trigger part, and the second action of Mandrill to send the email to the customer. Now in this step, click on the + button below and choose “Stripe” and in the method section select “Retrieve a Customer”. After choosing the application click on the “Connect with Stripe” button to move forward. After clicking on the connect button, a window will slide in from the right side asking for a “Bearer Token”. Next, you have to click on the “Developers” and then click on the “API Keys” in the Stripe account, to copy the API key. Simply copy the API key given in front of the “Secret key” to move further. Paste the copied API key and then click on the “Save” button. After connecting with the Stripe account, add the customer ID, we got in the webhook response, and then click on the “Save and Send Test Request”. Here, you can see, we have obtained the customer’s info like name, email, etc from the customer ID. Save the API response and move forward. Now in this step, click on the + button below and choose “Mandrill” and in the method section select “Send Email”. After choosing the application click on the “Connect with Mandrill” button to move forward. To connect Mandrill with Pabbly Connect, you need to paste the API key from your Mandrill account to the Pabbly Connect dashboard. For that, you have to log in to your Mandrill account. To get the API key, click on the “Settings” option and then select “SMTP & API Info” in your Mandrill dashboard. Scroll down and simply copy the given API key to move further. Paste the copied API key and then click on the “Save” button. Once you are connected with your Mandrill account, now you have to add all the field data like sender’s name, sender’s email, etc. Map up all the fields quickly. Once you are done mapping up all fields click on the “Send Test Request” button. Here, you can see that integration was successful and the email has been delivered from Mandrill to the customer on the subscription cancellation from Stripe automatically. Now in a similar way, whenever there will be any new subscription cancellation in your Stripe account, the email will be automatically delivered to the contact from your Mandrill account. Finally, at the end of the blog, today you learned about “How to Send Mandrill Emails when Stripe Subscription is Cancelled” via Pabbly Connect. As you were going through the blog, you must have realized how easy it is to bind any two applications via this magic software Pabbly Connect. The plus point- you don’t have to pay to work on it and you don’t need any coding skills. Hence, don’t think anymore and sign up today for your free account. For further queries or suggestions, please drop your comments below.Step 2: Access Pabbly Connect
Step 3 : Workflow for Stripe with Mandrill Integrations
(a) Create New Workflow
(b) Name the Workflow
Step 4 : Setting Triggers for Stripe with Mandrill Integrations
(a) Select Application you want to Integrate
(b) Copy the Webhook URL
Step 5 : Connecting Stripe to Pabbly Connect
(a) Click on Developers
(b) Click on Add Endpoint
(c) Paste the Webhook URL
Step 6 : Cancel a Subscription
(a) Click on Subscriptions
(b) Click on Cancel Subscription
(c) Cancel Subscription
Step 7 : Test the Submission in Pabbly Connect Dashboard
Step 8 : Setting Action for Stripe with Mandrill Integrations
(a) Select Application you want to Integrate
(b) Click on Connect Button
(c) Click on API Keys
(d) Copy the API Key
(e) Paste the API Key
(f) Add Customer ID
(g) Save the API Response
(h) Select Application you want to Integrate
(i) Click on Connect Button
Step 9 : Connecting Mandrill to Pabbly Connect
(a) Click on Mandrill Settings
(b) Copy the API Key
(c) Paste the API Key
(d) Map the Fields
(e) Send a Test Request
Step 10 : Check Response in Mandrill Dashboard
Conclusion –
You May Also Like to Read –