Pushsafer

Send & receive of Push Notifications

Integrate the Pushsafer API with the Bash API

Setup the Pushsafer API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Pushsafer and Bash remarkably fast. Free for developers.

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Pushsafer

Pushsafer is an API that enables real-time notifications to your devices. With Pushsafer, you can send customized messages to Android, iOS, and Windows devices, quickly and efficiently. When integrated with Pipedream, this API can serve as the linchpin for a vast array of automation workflows, allowing for immediate alerts based on triggers from countless services and applications. Imagine getting notifications for new sales leads, system downtimes, or even receiving reminders for upcoming events - All of this becomes seamless with Pushsafer on Pipedream.

Connect Pushsafer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pushsafer: {
      type: "app",
      app: "pushsafer",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.pushsafer.com/api`,
      params: {
        "k": `${this.pushsafer.$auth.private_key}`,
        "d": `${this.pushsafer.$auth.device}`,
        "m": `Message / text of the push notification`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS