skills/storage.googleapis.com/streak-draft-created

streak-draft-created

Installation
SKILL.md

Notify Streak that a draft was created

Whenever you create a Gmail draft with gws (a new draft via gws gmail +send ... --draft, or a threaded reply via gws gmail +reply / +reply-all ... --draft), Streak does not learn about that draft on its own. You must tell it, by POSTing to the box's draftCreated endpoint. Do this once per draft, right after the gws command succeeds.

If you skip this step the draft still exists in the user's Gmail, but Streak has no record of it — the box timeline will be wrong and later sessions may not know the draft was already written.

When to run

Run this exactly once for each draft you successfully create, immediately after the gws command returns success. Do not run it if the gws command failed, and do not run it more than once for the same draft (that would create duplicate records).

Endpoint

POST https://$STREAK_API_HOST/api/v2/boxes/$BOX_KEY/draftCreated
Authorization: Bearer $STREAK_API_KEY
Content-Type: application/json

$STREAK_API_HOST, $STREAK_API_KEY, and $BOX_KEY are already set in your environment (in production $STREAK_API_HOST resolves to api.streak.com). Always use these variables rather than hardcoding the host, so the call works in both dev and production.

Installs
835
First Seen
Jul 15, 2026
streak-draft-created from storage.googleapis.com