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.

How to Send Mandrill Emails when Stripe Subscription is Cancelled

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

Sign Up To Pabbly Connect 

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

Sign Up

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

Step 2: Access Pabbly Connect

Select Connect

Once you have completed the signup process, click on the Connect section in the dashboard to access Pabbly Connect.

Step 3 : Workflow for Stripe with Mandrill Integrations

(a) Create New Workflow

Create New Workflow

Start with creating a workflow for your project by clicking on the ‘Create Workflow’ button.

(b) Name the Workflow

Name the Workflow

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.

Step 4 : Setting Triggers for Stripe with Mandrill Integrations

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.

(a) Select Application you want to Integrate

Select Stripe

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.

(b) Copy the Webhook URL

Copy the Webhook URL

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.

Step 5 : Connecting Stripe to Pabbly Connect

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.

(a) Click on Developers

Click-on-Developers-1

To paste the webhook URL, click on the “Developers” option in your Stripe dashboard and then select the “Webhooks” option.

(b) Click on Add Endpoint

How

After reaching the webhooks page of the Stripe account, click on the “Add Endpoint” button.

(c) Paste the Webhook URL

Paste the Webhook URL

Next, paste the webhook URL and select “Subscription Schedule Canceled” from the event to send section, and then hit the “Add Endpoint” button.

Step 6 : Cancel a Subscription

To check if the integration is capturing data or not, we will cancel a subscription from the Stripe account.

(a) Click on Subscriptions

Click on Subscriptions

Now to cancel a subscription, click on “Customers” and then click on the “Subscriptions”.

(b) Click on Cancel Subscription

Click on Cancel Subscription

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.

(c) Cancel Subscription

Cncel Subscription

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.

Step 7 : Test the Submission in Pabbly Connect Dashboard

Save the Webhook Response

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.

Step 8 : Setting Action for Stripe with Mandrill Integrations

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.

(a) Select Application you want to Integrate

Select Stripe Action

Now in this step, click on the + button below and choose “Stripe” and in the method section select “Retrieve a Customer”.

(b) Click on Connect Button

Click Connect Stripe

After choosing the application click on the “Connect with Stripe” button to move forward.

(c) Click on API Keys

Click on API Stripe

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.

(d) Copy the API Key

Copy the API Key Stripe

Simply copy the API key given in front of the “Secret key” to move further.

(e) Paste the API Key

Paste the API key Stripe

Paste the copied API key and then click on the “Save” button.

(f) Add Customer ID

How

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

(g) Save the API Response

How

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.

(h) Select Application you want to Integrate

Select Mandrill

Now in this step, click on the + button below and choose “Mandrill” and in the method section select “Send Email”.

(i) Click on Connect Button

Click Connect Mandrill

After choosing the application click on the “Connect with Mandrill” button to move forward.

Step 9 : Connecting Mandrill to Pabbly Connect

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.

(a) Click on Mandrill Settings

Click on Settings Mandrill

To get the API key, click on the “Settings” option and then select “SMTP & API Info” in your Mandrill dashboard.

(b) Copy the API Key

Copy the API Key Mandrill

Scroll down and simply copy the given API key to move further.

(c) Paste the API Key

Paste the API Key Mandrill

Paste the copied API key and then click on the “Save” button.

(d) Map the Fields

Map the Fields

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.

(e) Send a Test Request

How

Once you are done mapping up all fields click on the “Send Test Request” button.

Step 10 : Check Response in Mandrill Dashboard

How

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.

Conclusion –

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.

You May Also Like to Read –