Guides

Send from your tools

Updated

Ripple, the notification service at ripple.do, takes a message from anything that can make an HTTPS request. Each recipe here posts to https://api.ripple.do/v1/send with a send key, which sends to one source, so give each tool its own source and key. Send a message covers everything a message can carry.

Cron

To hear from a cron job through Ripple, run curl after the job's command. Cron doesn't read your shell's profile, so set RIPPLE_KEY in the crontab itself. Run crontab -e and add:

Code
RIPPLE_KEY=paste-your-key-here
0 3 * * * /usr/local/bin/backup.sh && curl -fsS https://api.ripple.do/v1/send -H "Authorization: Bearer $RIPPLE_KEY" -d "Nightly backup finished"

At 3:00 every night the backup runs, and Ripple gets “Nightly backup finished” if it succeeds. To hear only when it fails, use || in place of &&, with a message such as “Nightly backup failed”. -fsS keeps curl quiet unless the send fails, so cron emails you only then.

GitHub Actions

To have Ripple tell you when a GitHub Actions job fails, add a last step that runs only on failure. Save the send key as a repository secret named RIPPLE_KEY, under Settings → Secrets and variables → Actions, then add this to the job's steps:

Code
- name: Tell Ripple
  if: failure()
  env:
    RIPPLE_KEY: ${{ secrets.RIPPLE_KEY }}
  run: |
    curl -fsS https://api.ripple.do/v1/send \
      -H "Authorization: Bearer $RIPPLE_KEY" \
      -F title="Build failed on $GITHUB_REF_NAME" \
      -F body="$GITHUB_WORKFLOW, run $GITHUB_RUN_NUMBER" \
      -F link="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" \
      -F linkTitle="Open run" \
      -F alert=important

The message opens the failed run. Use if: success() to hear when it passes instead, or the CLI, which reads the same RIPPLE_KEY.

Home Assistant

Home Assistant sends to Ripple with a REST command. Add it to configuration.yaml, with the key in secrets.yaml, and restart Home Assistant:

configuration.yaml
rest_command:
  ripple:
    url: https://api.ripple.do/v1/send
    method: post
    headers:
      authorization: !secret ripple_authorization
    content_type: text/plain
    payload: "{{ message }}"
secrets.yaml
ripple_authorization: "Bearer paste-your-key-here"

Then any automation or script can send with the rest_command.ripple action:

Code
action: rest_command.ripple
data:
  message: "The garage door has been open for 10 minutes."

n8n

n8n sends to Ripple with an HTTP Request node. To hear when a workflow fails, make an error workflow that starts with an Error Trigger node, add an HTTP Request node after it, and set:

Code
Method              POST
URL                 https://api.ripple.do/v1/send
Authentication      Generic Credential Type
Generic Auth Type   Header Auth
  Name              Authorization
  Value             Bearer paste-your-key-here
Send Body           On
Body Content Type   JSON
Specify Body        Using Fields Below
  title             {{ $json.workflow.name }} failed
  body              {{ $json.execution.error.message }}

Set title and body as expressions. Then choose that workflow as the Error workflow in each workflow's Settings.

Shortcuts

Apple's Shortcuts app sends to Ripple with its Get Contents of URL action, on iPhone, iPad, and Mac. Add the action, and under Show More, set:

Code
URL            https://api.ripple.do/v1/send
Method         POST
Headers
  Authorization  Bearer paste-your-key-here
Request Body   JSON
  title        From my iPhone
  body         Shortcut Input

Turn on Show in Share Sheet, and anything you share from another app lands in Ripple. A message can also run a Shortcut: a shortcuts:// link opens it once you confirm.

Claude Code hooks

Claude Code hooks can message you through Ripple whenever Claude finishes or needs your input, without asking the model to. Add this to ~/.claude/settings.json, and export RIPPLE_KEY in the shell you start Claude Code from, since hooks get its environment:

~/.claude/settings.json
{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "curl -fsS https://api.ripple.do/v1/send -H \"Authorization: Bearer $RIPPLE_KEY\" -d \"Claude Code finished in ${CLAUDE_PROJECT_DIR##*/}\""
          }
        ]
      }
    ],
    "Notification": [
      {
        "matcher": "permission_prompt|idle_prompt",
        "hooks": [
          {
            "type": "command",
            "command": "curl -fsS https://api.ripple.do/v1/send -H \"Authorization: Bearer $RIPPLE_KEY\" -d \"Claude Code needs you in ${CLAUDE_PROJECT_DIR##*/}\""
          }
        ]
      }
    ]
  }
}

Stop runs each time Claude finishes a reply, and Notification when it asks permission or waits for you. Each message names the project's folder. To have Claude write its own messages instead, connect it to Ripple as an AI agent.

Python and Node.js

Python and Node.js call Ripple with what they come with, and there's no SDK to install. Send from JavaScript or Python has a send in each, ready to copy.

Webhooks

A tool that takes only a URL, such as an uptime monitor's or another service's webhook settings, can send to Ripple through the source's webhook URL, which carries the send key. On the source's page, open Webhook under Ways to send and copy it. It looks like this:

Code
https://api.ripple.do/v1/send?key=paste-your-key-here

The tool has to POST plain text, Markdown, HTML, or Ripple's own JSON fields. To try the URL from a terminal:

Terminal
curl -d "Checkout is back up after 4 minutes down." "https://api.ripple.do/v1/send?key=$RIPPLE_KEY"

A service that posts its own JSON, such as a GitHub webhook, gets 400 unsupported_field, since Ripple reads only its own fields. A URL ends up in logs, so use the header whenever a tool allows it; Send from a tool that only takes a URL has the details.