View as Markdown
ntfy icon

ntfy ACTION

Send Notification

Send a notification using Ntfy. See the documentation.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ntfy account once, then configure and run Send Notification from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "ntfy-send-notification",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    ntfy: { authProvisionId: "apn_xxxxxxx" },
    topic: "Topic",
    data: "Message",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Send Notification inputs
Property Type Description
topic Topic string
The topic to which the notification will be sent
Required
data Message string
The message content of the notification
Required
headers Headers object
Optional headers to include in the request. See the documentation.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
ntfy-send-notification
Version
0.0.2
App
ntfy
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes