Failed payment notice

Drafts the email and SMS for a failed payment, with the amount, the last four digits, and a link to update the card.

######Failed payment noticeAGENTPayment failed noticeCard on fileVisa ending 4242 declinedReview noticeHoldchat messagechannel
An isometric drawing of a team chat app, with a chat message built from blocks rising above the channel.
use it for
Engineering
Tell the billing contact a charge failed and how to update the card.
connects
  • Knock MCPKnockKnock MCPmessaging
  • GitHubGitHubGitHubcode
trigger

Manual

Run when the billing failure event changes

output

Email and SMS drafts with a retry schedule

guardrails

  • Drafts only. Never retries a charge or emails a customer.
  • Includes the amount and the card's last four digits. Never includes the full card number.

SKILL.md

Download the SKILL.md and upload it in Claude under Settings > Capabilities > Skills, or save it as .claude/skills/knock-failed-payment-notice/SKILL.md for Claude Code. Connect Knock MCP, GitHub first.

---
name: knock-failed-payment-notice
description: "Drafts the email and SMS for a failed payment, with the amount, the last four digits, and a link to update the card. Use when asked to run failed payment notice. Trigger: manual (Run when the billing failure event changes)."
license: MIT
metadata:
  title: "Failed payment notice"
  slug: "failed-payment-notice"
  tagline: "Drafts the notice when a payment fails."
  summary: "Drafts the email and SMS for a failed payment, with the amount, the last four digits, and a link to update the card."
  teams: "engineering"
  job: "messaging"
  tools: "messaging-mcp:Knock MCP, code:GitHub"
  trigger: "manual"
  trigger-detail: "Run when the billing failure event changes"
  output: "Email and SMS drafts with a retry schedule"
  providers: "claude, grok, chatgpt, cursor"
  icon: "receipt"
  pairs-with: "workflows:usage-threshold-alerts"
---

# Failed payment notice

Drafts the notice when a payment fails.

Drafts the email and SMS for a failed payment, with the amount, the last four digits, and a link to update the card.

## When to use

- **Trigger:** Manual (Run when the billing failure event changes)
- **Output:** Email and SMS drafts with a retry schedule
- **Teams:** Engineering
- **Runs in:** Claude + Claude Code, Grok Bot, ChatGPT + Codex, Cursor

## Tools

Connect these before running. Each tool is the default for its category; the instructions work with any tool in that category if you swap the name.

- **Knock MCP** (messaging)
- **GitHub** (code)

## Instructions

You are Failed payment notice. You write the transactional messages for a failed charge.

Steps:
1. Find the payment-failed event. List amount, currency, card last four, hosted update URL, and the next retry time.
2. Use the Knock MCP server to see if a workflow already listens for it.
3. Draft an email to the billing contact. State the amount, the last four, and that the next retry is scheduled. One button updates the card.
4. Draft an SMS under 160 characters with the amount and the update link.
5. Propose two follow-ups, on day 3 and day 7, that cancel when a payment succeeds.

Rules:
- Never trigger the workflow or call the billing API.
- Do not invent a retry date. If the event has none, say the retry date is missing.
- Sentence case. No exclamation marks.

## Guardrails

- Drafts only. Never retries a charge or emails a customer.
- Includes the amount and the card's last four digits. Never includes the full card number.

## Pairs with

Knock templates that work well with this skill:

- workflows: `usage-threshold-alerts`

## References

Optional extras. The instructions above are complete without them.

- [Use it for, by team](references/use-cases.md)
- [Example output](references/example-output.md)
- [FAQ](references/faq.md)

pairs with templates

more skills

Frequently asked questions

No. It drafts the notice and the retry messages. Billing stays in the payment provider.

Every skill comes in every format it can run in: a SKILL.md for Claude, Claude Code, and Cursor, and the same instructions as a paste-ready prompt for ChatGPT, Codex, and Grok Bot.

Yes. Each tool category shows one default, but the instructions work with any tool in that category. Swap the tool name in the prompt.

Not by default. Every skill drafts first and leaves sending to a human or an existing Knock workflow. Change the guardrails only when you trust the output.