Write a Custom Webhook to Handle MailGun events

15 minute read Published:

Create an inexpensive Webhook to handle MailGun events. All you need is some background, a sprinkling of C#, and a few Azure functions.

Wouldn’t you like to know when MailGun fails to deliver an email? Or worse still, when someone complains about an email you sent?

MailGun can notify you about the following events:

  • Clicked
  • Complained
  • Delivered
  • Failed
  • Opened
  • Unsubscribed

There’s just one catch: You have to write your own webhook, then subscribe to those events with your webhook’s URL. If that thought left you cross-eyed, fear not! The reign of cloud computing has made this simpler than it used to be, especially the introduction of functions as a service.

Build an SMS Bat-Signal Powered by Twilio and Azure Functions

8 minute read Published:

Sometimes in life, you've got to send out boat-loads of SMS messages, and you've got to do it fast. Fortunately, SMS doesn't get much easier than Twilio plus Azure Functions.

Wouldn’t it be cool to send out an SMS SOS with the touch of a button? Like your own private SMS Bat-Signal!

I’ll show you how to do it using Twilio and an Azure Function. Here’s an overview of the simple architecture:

                                   /--> |        |--> 📱
|--(HTTP POST)--> [ Azure Func 𝛌 ] ---> | Twilio |--> 📱
                                   \--> |        |--> 📱

Simple, right? Let’s paint the clouds red, 160 characters at a time.

🤜 💥 🤛

Custom Salesforce API updates with an Azure Logic App

5 minute read Published:

Using a custom JSON object to update a Salesforce record using an Azure Logic App is as easy as falling down the stairs (and nearly as painful).

Scenario: You’re using an Azure Logic App to update a Salesforce record using the Salesforce API connector.

Problem: The Salesforce connector doesn’t make it easy to send a custom update request. It wants you to name all the fields you intend to update. But what if you don’t want to update some of those fields, based on some condition? Well, you were up a creek — until you found this post.