← Sentry + Pushover integrations

Push Notification with Pushover API on New Issue Event (Instant) from Sentry API

Pipedream makes it easy to connect APIs for Pushover, Sentry and 1400+ other apps remarkably fast.

Trigger workflow on
New Issue Event (Instant) from the Sentry API
Next, do this
Push Notification with the Pushover API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 500,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Sentry trigger and Pushover action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Issue Event (Instant) trigger
    1. Connect your Sentry account
    2. Select a Organization
  3. Configure the Push Notification action
    1. Connect your Pushover account
    2. Configure Message
    3. Optional- Configure Title
    4. Optional- Configure URL
    5. Optional- Configure URL Title
    6. Optional- Configure Device
    7. Optional- Select a Priority
    8. Optional- Configure Retry
    9. Optional- Configure Expire
    10. Optional- Select a Sound
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new events for issues that have been created or updated.
Version:0.1.1
Key:sentry-issue-event

Sentry Overview

Sentry is an error tracking and monitoring platform that can be used to detect
and debug problems with applications. With the Sentry API, developers and
system administrators can build custom tools and applications using the Sentry
platform.

Using the Sentry API, here are some examples of the kinds of custom tools and
applications that can be built:

  • Debugging tool to detect and troubleshoot errors
  • Application monitoring dashboard
  • Alert system to send notifications when an error occurs
  • Anomaly detection system to identify potential issues
  • Automated testing system to quickly identify and correct bugs
  • Event logging system to track system metrics and usage data
  • Visualization tool to track the progress and performance over time of the
    application or system

Trigger Code

import sentry from "../../sentry.app.mjs";

export default {
  key: "sentry-issue-event",
  version: "0.1.1",
  name: "New Issue Event (Instant)",
  description: "Emit new events for issues that have been created or updated.",
  type: "source",
  props: {
    db: "$.service.db",
    http: {
      type: "$.interface.http",
      customResponse: true,
    },
    sentry,
    organizationSlug: {
      propDefinition: [
        sentry,
        "organizationSlug",
      ],
    },
  },
  hooks: {
    async activate() {
      const { slug: integrationSlug } = await this.sentry.createIntegration(
        this.getEventSourceName(),
        this.organizationSlug,
        this.http.endpoint,
      );
      this._setIntegrationSlug(integrationSlug);

      const clientSecret = await this.sentry.getClientSecret(integrationSlug);
      this._setClientSecret(clientSecret);
    },
    async deactivate() {
      const integrationSlug = this._getIntegrationSlug();
      await this.sentry.disableIntegration(integrationSlug);
    },
  },
  methods: {
    _setIntegrationSlug(integrationSlug) {
      this.db.set("integrationSlug", integrationSlug);
    },
    _getIntegrationSlug() {
      return this.db.get("integrationSlug");
    },
    _setClientSecret(clientSecret) {
      this.db.set("clientSecret", clientSecret);
    },
    _getClientSecret() {
      return this.db.get("clientSecret");
    },
    getEventSourceName() {
      return "Issue Event (Instant)";
    },
  },
  async run(event) {
    const clientSecret = this._getClientSecret();
    if (!this.sentry.isValidSource(event, clientSecret)) {
      this.http.respond({
        statusCode: 404,
      });
      return;
    }

    this.http.respond({
      statusCode: 200,
    });

    const {
      body, body: { data: { issue } },
    } = event;

    this.$emit(body, {
      id: issue.id,
      summary: issue.title,
      ts: Date.parse(issue.lastSeen),
    });
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
SentrysentryappThis component uses the Sentry app.
OrganizationorganizationSlugstringSelect a value from the drop down menu.

Trigger Authentication

Sentry uses API keys for authentication. When you connect your Sentry account, Pipedream securely stores the keys so you can easily authenticate to Sentry APIs in both code and no-code steps.

Create authentication tokens at https://sentry.io/settings/account/api/auth-tokens/ to use the Sentry API on behalf of your user account.

About Sentry

Self-hosted and cloud-based error monitoring

Action

Description:Sends a Push Notification to devices with Pushover. More information at [Pushing Messages](https://pushover.net/api#messages)
Version:0.0.4
Key:pushover-push-notification

Pushover Overview

Using the Pushover API, you can design applications that can send notifications
to Android, iOS, and Deskop devices. Pushover provides a simple, yet powerful
API that makes it easy to send notifications to any device in real-time. With
the Pushover API, you have the ability to quickly send notifications, create
interactive conversations, and create targeted messages.

The following are examples of applications you can build with Pushover:

  • Mobile and Web Applications: Pushover is perfect for any mobile or web
    application that requires notifications to users.
  • Critical Alerts: Pushover is used by many businesses and organizations to
    send critical alerts to mobile users as well as desktops.
  • Notification Systems: Pushover can be used to send notifications to any
    destination, such as SMS, email, and webhooks.
  • Instant Messaging System: Pushover can be used to create an instant messaging
    system for any mobile or desktop user.
  • Automatic Notifications: Pushover can be used to automatically send
    notifications to users based on triggers or timers.
  • Event Tracking: Pushover can be used to track events and send notifications
    when those events occur.

Action Code

import pushover from "../../pushover.app.mjs";
import constants from "../../common/constants.mjs";

export default {
  key: "pushover-push-notification",
  name: "Push Notification",
  description: "Sends a Push Notification to devices with Pushover. More information at [Pushing Messages](https://pushover.net/api#messages)",
  version: "0.0.4",
  type: "action",
  props: {
    pushover,
    message: {
      propDefinition: [
        pushover,
        "message",
      ],
    },
    title: {
      propDefinition: [
        pushover,
        "title",
      ],
    },
    url: {
      propDefinition: [
        pushover,
        "url",
      ],
    },
    urlTitle: {
      propDefinition: [
        pushover,
        "urlTitle",
      ],
    },
    device: {
      propDefinition: [
        pushover,
        "device",
      ],
    },
    priority: {
      type: "string",
      label: "Priority",
      description: "The message priority. More information at [Pushover API](https://pushover.net/api#priority)",
      optional: true,
      options: constants.PRIORITY_OPTIONS,
    },
    retry: {
      propDefinition: [
        pushover,
        "retry",
      ],
      optional: true,
    },
    expire: {
      propDefinition: [
        pushover,
        "expire",
      ],
      optional: true,
    },
    sound: {
      propDefinition: [
        pushover,
        "sound",
      ],
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      message,
      title,
      url,
      urlTitle,
      device,
      priority,
      retry,
      expire,
      sound,
    } = this;
    const response =
      await this.pushover.pushMessage({
        $,
        params: {
          message,
          title,
          url,
          device,
          priority,
          retry,
          expire,
          sound,
          url_title: urlTitle,
        },
      });
    $.export("$summary", `Successfully sent notification with message: "${message}"`);
    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
PushoverpushoverappThis component uses the Pushover app.
Messagemessagestring

The notification message

Titletitlestring

The message title

URLurlstring

A supplementary URL to show with the message

URL TitleurlTitlestring

A title for the supplementary URL.
If blank, the URL is shown

Devicedevicestring

The device name to send the message directly.
Can be comma-separated names for sending to multiple devices

PriorityprioritystringSelect a value from the drop down menu:{ "value": "-2", "label": "Lowest, no alert" }{ "value": "-1", "label": "Low, no sound" }{ "value": "0", "label": "Normal priority" }{ "value": "1", "label": "High priority, bypass quiet hours" }{ "value": "2", "label": "Emergency priority, bypass quiet hours, and repeat until the notification is acknowledged by user" }
Retryretryinteger

How often, in seconds, Pushover will send the same notification. In a situation where your user might be in a noisy environment or sleeping, retrying the notification (with sound and vibration) will help get his or her attention. This parameter must have a value of at least 30 seconds between retries.

Expireexpireinteger

Notification expiration time, in seconds. If the notification has not been acknowledged in expire seconds, it will be marked as expired and will stop being sent to the user. Note that the notification is still shown to the user after it is expired, but it will not prompt the user for acknowledgement. This parameter must have a maximum value of at most 10800 seconds (3 hours).

SoundsoundstringSelect a value from the drop down menu.

Action Authentication

Pushover uses API keys for authentication. When you connect your Pushover account, Pipedream securely stores the keys so you can easily authenticate to Pushover APIs in both code and no-code steps.

The User key is available in Pushover homepage upon login.

About Pushover

Real-time notifications on Android, iPhone, iPad, and Desktop

More Ways to Connect Pushover + Sentry

Emergency Push Notification with Pushover API on New Issue Event (Instant) from Sentry API
Sentry + Pushover
 
Try it
New Issue Event (Instant) from the Sentry API

Emit new events for issues that have been created or updated.

 
Try it
List Issue Events with the Sentry API

Return a list of events bound to an issue. See the docs here

 
Try it
List Project Events. with the Sentry API

Return a list of events bound to a project. See the docs here

 
Try it
List Project Issues. with the Sentry API

Return a list of issues bound to a project. See the docs here

 
Try it
Update Issue. with the Sentry API

Updates an individual issue's attributes. Only the attributes submitted are modified.See the docs here

 
Try it
Emergency Push Notification with the Pushover API

Sends an Emergency Push Notification to devices with Pushover. Notifications are repeated until they are acknowledged by the user. More information at Pushing Messages and Message Priority

 
Try it

Explore Other Apps

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.