Pushover

Send push notifications to mobile and desktop devices via Pushover.

CommunicationAPI key1 actionAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (1)
  4. send_notification
  5. Details

Connect

Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.

  • From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
  • Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
  • Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.

Call it from a workflow

step.ctx.integrations.invoke("pushover", action, input) resolves with the provider's answer and rejects when Pushover isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "pushover"} says whether yours can call it.

Workflow
// workflows/notify.ts: call Pushover when a booking is confirmed
import { on } from "@appbricx/workflows";

export const tellPushover = on.transition("booking", "status", "confirmed", async (_event, step) => {
  // Recorded once: a retry doesn't send it twice. Rejects when Pushover isn't connected.
  const output = await step.run("Pushover", () =>
    step.ctx.integrations.invoke("pushover", "send_notification", {
      "message": "<message>"
    }),
  );
  step.ctx.log("Pushover answered", output);
});
Try it from your agent
{
  "name": "integrations",
  "arguments": {
    "project_id": "<project-id>",
    "action": "call",
    "piece": "pushover",
    "piece_action": "send_notification",
    "input": {
      "message": "<message>"
    },
    "env": "dev"
  }
}
From another backend (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/pushover/send_notification" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"message":"<message>"}}'

Actions

send_notification

Send Notification. Send a notification to Pushover

InputTypeDescription
titleoptionaltextThe title of the notification
messagerequiredlong textThe message to send
htmloptionalbooleanTo enable HTML parsing
priorityoptionalnumberThe priority of the notification (-2 to 2). -2 is lowest priority. If set to 2, you should also specify Retry and Expire.
retryoptionalnumberWorks only if priority is set to 2. Specifies how often (in seconds) the Pushover servers will send the same notification to the user.
expireoptionalnumberWorks only if priority is set to 2. Specifies how many seconds your notification will continue to be retried for (every retry seconds).
urloptionaltextA supplementary URL to show with your message.
url_titleoptionaltextA title for the URL specified as the url input parameter, otherwise just the URL is shown.
timestampoptionaltexta Unix timestamp of a time to display instead of when our API received it.
deviceoptionaltextThe name of one of your devices to send just to that device instead of all devices.

Details

Id
pushover
Category
Communication
Tags
push, notifications, alerts, mobile
Package
@activepieces/piece-pushover@0.2.3
Runs
Through the integration runner