
Recently one of our customers asked if it was possible to send errors to different email addresses based on where the error happened in their application. We can do that with our Zapier integration!
Lets consider the following scenario:
We want to notify our "backend" team when an error occurs in one of the API controllers.
We can use the AppSignal Zapier integration to enable this.
Tag an error
First, we have to tag the error in our application. We can do this with Appsignal.tag_request
, and this can be done anywhere in your application. In this case we're going to tag any API controller action with a "responsible team" tag set to "backend".
class ApiController < ApplicationController before_filter :tag_request def tag_request Appsignal.tag_request(:responsible_team => 'backend') end end
Activate the Zapier integration on AppSignal
Next, we have to connect AppSignal to Zapier. For this we need some credentials to give AppSignal access to Zapier. Go to the "integrations" tab, activate your Zapier integration and write down your credentials:

Configure Zapier
On Zapier.com, select "AppSignal" as the source and "email" as the destination. Then connect AppSignal to Zapier using the credentials retrieved in the previous step:

Next, we add a filter for requests with the "responsible_team" tag set to a value of "backend":

Finally, we use the data from AppSignal to compose an email to the responsible team:

The possibilities are endless
Zapier allows AppSignal to integrate with tons of other services. Instead of email you could notify a specific Slack channel, send a push notification to a specific team with PushBullet or go crazy with some other channel.
If you have any questions or like to see more 3rd party services supported, don't hesitate to get in touch!
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Try out AppSignal with a 30-day free trial.
- Reach out to our support team with any feedback or questions.
- Share this article on social media
Most popular AppSignal articles
Easily Monitor Multiple Heroku Apps with AppSignal
You can now monitor multiple Heroku apps from a single AppSignal instance.
See moreFine-Tune Your Charts with Minutely Metrics in AppSignal
Discover how minutely metrics in AppSignal deliver precise performance monitoring. Check out detailed performance data, spot anomalies quickly, troubleshoot issues more efficiently, and optimize your application's performance.
See moreSecure Your Sign-Ins with AppSignal's Single Sign-On
Secure team sign-ins and enhance access management with AppSignal's Single Sign-On Business Add-On. Integrate AppSignal with your identity provider for seamless, secure access management.
See more

Robert Beekman
As a co-founder, Robert wrote our very first commit. He's also our support role-model and knows all about the tiny details in code. Travels and photographs (at the same time).
All articles by Robert BeekmanBecome our next author!
AppSignal monitors your apps
AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!
