---
name: pointedai
description: Use when collecting customer evidence through AI-powered
  interviews, managing customer accounts and contacts, preparing interview
  campaigns, exporting responses, and automating workflows with webhooks. Agents
  should reach for this skill when building customer research workflows, setting
  up interview templates, managing bulk contact imports, configuring webhooks
  for event-driven automation, or exporting interview data for analysis.
metadata:
  mintlify-proj: pointedai
  version: "1.0"
---

# Pointed AI Skill

## Product summary

Pointed AI is a B2B customer evidence platform that automates AI-powered interviews. Agents use the Pointed CLI (`@pointed/cli`) to manage customer accounts and contacts, create reusable interview templates, prepare interview links, export responses, and configure webhooks for event-driven automation. The primary API is `https://app.usepointed.ai/api/cli/v1`. Key files: `~/.pointed/config.json` (local config), `~/.pointed/credentials.json` (OAuth tokens). CLI version 0.5.0+ is required for spreadsheet imports, account context, phone fields, and template starters. See [Pointed documentation](https://docs.usepointed.ai).

## When to use

Reach for this skill when:
- Setting up customer interview campaigns from scratch or from templates
- Importing customer lists from spreadsheets and preparing interview links
- Creating reusable interview templates with custom questions and settings
- Managing accounts, contacts, and campaigns via CLI or API
- Configuring webhooks to trigger actions when interviews complete (e.g., issuing rewards, updating CRM)
- Exporting interview responses, transcripts, and media for analysis
- Automating bulk operations like contact creation, link generation, or enrollment
- Troubleshooting authentication, CLI version issues, or failed imports

## Quick reference

### Authentication

```bash
# Browser login (interactive)
pointed auth login
pointed auth whoami

# API key (automation)
export POINTED_API_KEY="<your-key>"
pointed auth whoami

# Refresh or logout
pointed auth refresh
pointed auth logout
```

### Core CLI commands

| Task | Command |
|------|---------|
| List accounts | `pointed accounts list` |
| Create account | `pointed accounts create --name "Acme" --domain acme.com --industry Tech` |
| List contacts | `pointed contacts list --account-id <id>` |
| Create contact | `pointed contacts create --account-id <id> --name "Jane" --email jane@acme.com --phone "+1 415 555 0134"` |
| Batch create contacts | `pointed contacts create-batch --account-id <id> --input-file contacts.json` |
| List campaigns | `pointed campaigns list --account-id <id>` |
| Create campaign | `pointed campaigns create --account-id <id> --name "Title" --context "Brief" --initial-question "Q?"` |
| Generate links | `pointed links generate --campaign-id <id>` |
| Send invite | `pointed invites email send <inviteId>` |
| Download responses | `pointed responses download --campaign-id <id> --output-dir ./export` |
| List templates | `pointed story-templates list` |
| Create template | `pointed story-templates create --starter roi-stories --product "Name"` |
| Enroll account | `pointed story-templates enroll <templateId> --account-id <id>` |
| Import CSV | `pointed accounts import customers.csv --dry-run` |
| Import & enroll | `pointed accounts import customers.csv --enroll <templateId>` |
| Create webhook | `pointed webhooks create --url https://example.com/hook --events interview.completed` |
| Test webhook | `pointed webhooks test <endpointId> --wait` |

### Configuration files

- **Local config**: `~/.pointed/config.json` — API URL, OAuth settings
- **Credentials**: `~/.pointed/credentials.json` — OAuth tokens (private, mode 0600)
- **Export directory**: Created per-run, preserves previous exports

### Environment variables

| Variable | Purpose |
|----------|---------|
| `POINTED_API_KEY` | API key for automation (overrides browser login) |
| `POINTED_API_URL` | Override API base URL (default: `https://app.usepointed.ai`) |
| `POINTED_OUTPUT_FORMAT` | Set `json` or `table` output |

### CSV import headers

Recognized column names (case-insensitive, flexible matching):
- Company: `Account`, `Company`, `Organization`, `Customer`
- Domain: `Domain`, `Company domain`, `Website`, `URL`
- Industry: `Industry`, `Sector`, `Vertical`
- Name: `Name`, `Full name`, `Contact name`
- First/Last: `First name`, `Last name`
- Email: `Email`, `Email address`, `Work email`
- Title: `Title`, `Job title`, `Role`, `Position`
- Phone: `Phone`, `Phone number`, `Mobile`, `Work phone`

## Decision guidance

| Scenario | Use CLI | Use API | Use AI Agent |
|----------|---------|---------|--------------|
| Interactive account/contact management | ✓ | | |
| Bulk import from spreadsheet | ✓ | | |
| Automation in scripts/CI/CD | | ✓ | |
| One-off webhook setup | ✓ | | |
| Programmatic account creation | | ✓ | |
| Free-form text parsing (smart intake) | ✓ | | ✓ |
| Saving interview drafts without sending | | | ✓ |
| Webhook endpoint management | ✓ | ✓ | ✓ |

| Choice | When to use |
|--------|------------|
| **Browser login** | Interactive CLI use, one person, same computer |
| **API key** | Automation, CI/CD, unattended scripts, multiple environments |
| **Story template** | Repeatable campaigns across multiple accounts; use starters for common patterns |
| **Direct campaign** | One-off interviews for a single account |
| **CSV import** | Structured spreadsheet with known columns |
| **Smart intake** | Free-form text, pasted lists, or unstructured data |
| **Webhook** | Trigger external actions (rewards, CRM updates, Slack notifications) on interview events |

## Workflow

### Typical interview campaign setup

1. **Authenticate**: Run `pointed auth login` and verify with `pointed auth whoami`.
2. **Find or create account**: List with `pointed accounts list`, or create with `pointed accounts create --name "..." --domain "..."`.
3. **Add contacts**: Create individually with `pointed contacts create` or batch with `pointed contacts create-batch --input-file contacts.json`.
4. **Create campaign**: Run `pointed campaigns create --account-id <id> --name "..." --context "..." --initial-question "..."`.
5. **Generate links**: Run `pointed links generate --campaign-id <id>` to prepare interview URLs.
6. **Preview invite**: Run `pointed invites email preview <inviteId>` to check the message.
7. **Send invites**: Run `pointed invites email send <inviteId>` when ready (or share links manually).
8. **Monitor responses**: Check the Pointed dashboard or use `pointed responses list --campaign-id <id>`.
9. **Export data**: Run `pointed responses download --campaign-id <id> --output-dir ./export` to get transcripts, media, and summaries.

### Edit interview voice guidance

Export the target's editable settings with `pointed interviews settings get <id> --kind story_template > interview-settings.json` or use `--kind demo` for a Demo Mode link. Keep `expectedRevision` and the organizer's existing wording. Keep `openingQuestion` in plain text.

New ElevenLabs templates and demos include this paragraph in `instructions`. Add it to existing guidance when requested, or remove it for custom pacing. Pointed periodically verifies standard presets. An older custom configuration without a verified English speech model needs a provider settings change that creates a freshly inspected configuration. A guidance-only save, an unchanged tuning save, or a provider read preserves the old configuration.

```text
Prefix each spoken interview question with the [brisk] audio tag.
```

The base `tts.model_id` from `settings provider` alone cannot establish tag or numeric-speed support. English language presets, alternative voices and realtime routing can change which model speaks. With a verified compatible English speech model, Pointed prefixes the recording disclosure with `[brisk]` and asks the interviewer to tag each spoken question. When the model is unknown or unsupported, Pointed omits the stock cue and keeps the other instructions. Save edits with `pointed interviews settings set <id> --kind story_template --file interview-settings.json` (use `--kind demo` for a demo). Edits apply to future interviews by default. Only explicitly selected eligible unstarted invitations can take a template update. Started interviews keep their settings. [Voice delivery](https://docs.usepointed.ai/docs/story-templates#voice-delivery) · [Settings API](https://docs.usepointed.ai/docs/api/interview-settings)

### Bulk import with template enrollment

1. **Prepare CSV**: Create file with headers (Company, Email, Name, etc.).
2. **Dry run**: Run `pointed accounts import customers.csv --dry-run` to review matches and skipped rows.
3. **Create or find template**: Use `pointed story-templates create --starter <name>` or `pointed story-templates list`.
4. **Import and enroll**: Run `pointed accounts import customers.csv --enroll <templateId>`.
5. **Review results**: Check `summary` for created/existing counts, `accounts[].status`, and `enrollment` results.
6. **Send invites**: Use `pointed invites email send` or share links manually.

### Webhook setup for event automation

1. **Create endpoint**: Run `pointed webhooks create --url https://your-domain.com/hook --events interview.completed,interview.incomplete`.
2. **Store secret**: Save the returned `secret` (starts with `whsec_`) in your secret manager immediately.
3. **Test delivery**: Run `pointed webhooks test <endpointId> --wait` to verify your endpoint responds with `2xx`.
4. **Verify signature**: Implement signature verification using the Standard Webhooks format (see [Webhooks docs](https://docs.usepointed.ai/docs/webhooks)).
5. **Handle events**: Parse `event.type`, check `event.test` (skip if true), and act on `event.data` (contact ID, interview status, etc.).

## Common gotchas

- **CLI version mismatch**: Spreadsheet imports, account context, phone fields, and template starters require CLI 0.5.0+. Run `npm install -g @pointed/cli@latest` and verify with `pointed --version`.
- **Forgotten API key storage**: `pointed webhooks create` and `rotate-secret` print the signing secret once. Store it immediately; it cannot be retrieved later.
- **Dry run not creating records**: `--dry-run` on imports shows what would happen but creates nothing. Remove the flag to actually write.
- **Context vs. fields**: Account context (briefing text) and custom fields save separately. If context fails, retry with `accounts update <id> --context-file ...`, not `accounts create`.
- **Enrollment does not send email**: `story-templates enroll` and `accounts import --enroll` prepare links but do not send invitations. Use `invites email send` separately.
- **Existing contact returns 409**: Creating a contact with an email that already exists on the account returns 409 with the existing contact in `data.contact`. Check for duplicates before batch operations.
- **Webhook events only from live endpoint**: Endpoints receive events only while they are on and only for event types selected before the interview happened. Nothing from before the endpoint was added is sent.
- **Test events are not sent by default**: Test interviews and demo mode produce events with `test: true` only if you opt in. Do not act on test events in production.
- **Signature verification on raw body**: Verify the exact bytes received, not a re-serialized JSON. Use a library or the Standard Webhooks format.
- **Domain uniqueness**: Account domains must be unique in the workspace. A second account cannot use the same domain.
- **Phone format**: Phone numbers accept 7–15 digits with common separators (e.g., `+1 415 555 0134`). Invalid formats are rejected.
- **Batch operation partial failures**: Batch contact creation, link generation, and imports can succeed for some items and fail for others. Exit status 1 does not mean everything failed; inspect the JSON output.
- **Concurrent edits on account context**: If two requests edit context simultaneously, the second fails. Review and reconcile before retrying.

## Verification checklist

Before submitting work with Pointed:

- [ ] Authenticated with `pointed auth whoami` and confirmed the correct workspace
- [ ] Reviewed account/contact data with `--dry-run` before writing (for imports)
- [ ] Verified contact emails are unique on the account (no 409 duplicates)
- [ ] Confirmed campaign has an opening question and context set
- [ ] Generated links with `pointed links generate` and reviewed the survey URL
- [ ] Previewed invitation email with `pointed invites email preview` before sending
- [ ] For webhooks: stored the signing secret, tested with `--wait`, and verified signature verification code
- [ ] For exports: confirmed response status is `completed` before downloading
- [ ] Checked exit status and JSON output for batch operations (status 1 may include partial success)
- [ ] Verified CLI version is 0.5.0+ if using imports, context, phone fields, or template starters

## Resources

- **Full documentation index**: [https://docs.usepointed.ai/llms.txt](https://docs.usepointed.ai/llms.txt) — comprehensive page-by-page navigation for agents
- **API reference**: [https://docs.usepointed.ai/docs/api/overview](https://docs.usepointed.ai/docs/api/overview) — REST API endpoints, authentication, response format, error codes
- **Commands reference**: [https://docs.usepointed.ai/docs/commands](https://docs.usepointed.ai/docs/commands) — all CLI commands with examples
- **Webhooks guide**: [https://docs.usepointed.ai/docs/webhooks](https://docs.usepointed.ai/docs/webhooks) — event types, signature verification, delivery, recipes

---

> For additional documentation and navigation, see: https://docs.usepointed.ai/llms.txt