Skip to content

Commit 0bec011

Browse files
mayoalexanderclaude
andcommitted
feat(event): iris event create — single-command event outreach pipeline
BET 2 of the SOM scalability bets. Codifies the 90-min FFAT recipe into \`iris event create --name X --label Y --date ... --venue ... --city ... --role ... --ig ...\` which composes 3 existing primitives: 1. POST /api/v1/user/{userId}/bloqs — bloq (lead pool) 2. POST /api/v1/bloqs/{bloqId}/outreach-strategy-templates — strategy (4 steps from archetype) 3. POST /api/v1/som/campaigns — campaign (auto-expires event_date+1d) Archetypes: artist | vendor | dj | sponsor — each is a 3-4 step IG DM sequence with token slots ({event_name} {event_date} {venue} {city}) that get filled at create time. Add a new role = add a new ARCHETYPES entry. Subcommands: create | list | show | archetypes - list — only campaigns with non-null ends_at (event campaigns) - show — bloq + strategy + campaign + lead count, single page - archetypes — print available roles (read-only browse) Eliminates tribal knowledge — what previously required 3 separate API calls (bloq → strategy → campaign), JSON crafting, token replacement, and campaign config wiring is now one CLI command. Verified end-to-end against prod: created Test Event E2E (bloq #356 + strategy #36 + campaign #9), confirmed token replacement, cleaned up. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent b5a1fa8 commit 0bec011

2 files changed

Lines changed: 405 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)