It’s official – elmah.io integrates with Zapier
This post has been adapted as part of our official documentation. To read the most updated version, please check out Integrate with Zapier.
We’ve integrated with Zapier for a while now. Until now the integration have been invite only and we want to thank all of you who helped testing. For the rest of you – start integrating elmah.io with hundreds of online services through Zapier.
In short Zapier is the place to go, if you need to integrate two or more online systems. To show you the strengths of elmah.io and Zapier, I will show you a basic example on how to set up a new Zap. In this case we use an integration point provided by elmah.io and Zapier called a trigger. A trigger is (as the name suggest) something that triggers an action in Zapier. In case of elmah.io, the trigger available is when new messages are logged to your log. Actions exists on the other side of the integration and tells Zapier what to do every time a trigger is fired. Hundreds of actions exists, in this example we use the GitHub action to create a new issue every time a new message is logged.
Create a new account on Zapier.com. Then click the Make a New Zap button. The create new Zap page is shown:
Select elmah.io in the Choose a Trigger app... dropdown and then select New Error in the Choose a Trigger... dropdown. In the Choose an Action app... select GitHub and select Create Issue in the Choose an Action... dropdown.
This configuration tells Zapier to create a new issue at GitHub, every time a new error is logged in elmah.io. The action could be one of the hundreds of other integrations available at Zapier. Click Continue.
In section 2 select the Connect a different elmah.io Account and input a name and the log id of the log you want to integrate:
Authorize your GitHub account (or whatever integration you’ve selected in the action step) and click Continue. Step 4 isn’t mandatory, but here you will be able to setup additional constraints to the Zap. If you’re using elmah.io for other than errors, you can tell Zapier only to create a new GitHub issue when the message is an actual error:
In step 5 you specify how the new issue should create created. In this example I’ve chosen the GitHub project for our open source client. For the title, I use two of the variables available from the elmah.io action. For a complete list of variables, click the Insert button next to each textbox. The variable will look something like this “MyApp: An error occurred”. The issue body contains the detail of the error (typically a stacktrace). Finally I’ve selected bug as a label.
Test the Zap an hit Continue:
Finally, name your Zap and click the Turn Zap on button:
When future errors are logged in your elmah.io log, a GitHub issue is automatically created. How awesome is that!
This post was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening and help you fix errors fast.