Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ re-authenticates whichever profile is currently selected (see 'cio profile').`,
client.SandboxServiceAccountTokenPrefix,
token[:min(len(token), 10)])
output.PrintError(output.CodeValidationError, err.Error(), map[string]any{
"hint": "Production service account tokens start with sa_live_. Sandbox Builder accounts use sa_sandbox_ until go-live.",
"hint": fmt.Sprintf("Service account tokens start with sa_live_. Copy the token from the token page (%s) or run cio auth signup for a new account.",
resolveCLILoginURL(resolveLoginBaseURL(cmd))),
})
return err
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/prime_context.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Skills provide behavioral guidance, multi-step workflows, and gotchas that are N
cio skills # list available skills
cio skills read fly-api # Customer.io API guidance — routes to sub-files
cio skills read fly-api/campaigns.md # campaign workflows, edge wiring, gotchas
cio skills read cio # skills unique to the CLI (onboarding, auth/login, integration, go-live)
cio skills read cio # skills unique to the CLI (onboarding, auth/login, integration)
cio skills read design-studio # Design Studio email creation workflow
cio skills read design-studio/nodes.md # node creation, component markup
```
Expand Down
16 changes: 8 additions & 8 deletions skills/cio/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
name: cio
description: >
Customer.io CLI - use for Customer.io, Journeys, CDP Pipelines, builder
onboarding, sandbox testing, app integration, SDK setup, transactional
messaging, billing activation, going live, service account tokens, sources,
destinations, identify/track events, and fly.customer.io / cdp.customer.io
errors. Trigger even when the user does not name the CLI.
Customer.io CLI - use for Customer.io, Journeys, CDP Pipelines, new-account
onboarding and signup, app integration, SDK setup, message design, message
automation (automations, broadcasts, transactional messages), plans and
billing, service account tokens, sources, destinations, identify/track
events, and fly.customer.io / cdp.customer.io errors. Trigger even when the
user does not name the CLI.
---

# Customer.io (`cio`)
Expand Down Expand Up @@ -36,9 +37,8 @@ Use runtime references instead of copying large playbooks into this skill:

Common routing:

- Builder/startup setup, signup, sandbox, first app integration,
transactional proof, billing activation checks, and go-live start with
`cio prime` and `cio skills read cio`.
- New-account setup, signup and login, first app integration, and plan or
billing questions start with `cio prime` and `cio skills read cio`.
- Existing Journeys resources such as campaigns, segments, templates,
customers, newsletters, and subscription topics should use
`cio skills read fly-api`.
Expand Down
Loading