← Duties

Postcard from the box

Press it and the box emails Ben a line about itself, through the notifications door. The point is the last step: it names an integration rather than carrying a credential, and the run says which address it went to. If this is ever green while no email arrives, check SES's send statistics — the notifications API claims success either way.

Duty

Id
postcard-from-the-box
Trigger
button — Send a postcard
State
enabled
Created
2026-08-09 20:56 UTC
Updated
2026-08-09 20:56 UTC

Runs

Every time this duty has fired — on its schedule and by hand.

Flow — 2 steps

What runs, in order. Reading, not editing — the duty's own agent writes it.

Read the box's own state the box runs something command: echo "This box is $(hostname), at $(date -u '+%Y-%m-%d %H:%M:%S UTC')."; echo "Disk: $(df -h / | awk 'NR==2 {print $4" free of "$2}')" </> Read the box's own state echo "This box is $(… Email it to Ben sends it somewhere to: ben subject: Postcard from your agent box integration: notifications Email it to Ben ben
  • </> code — the box runs something
  • notify — sends it somewhere
Read it as a list
  1. code Read the box's own state → send
  2. notify Email it to Ben