chat-birdseye / sample_chats.js
josrano's picture
Initial chat bird's-eye workspace
d3de620 verified
Raw
History Blame Contribute Delete
4.67 kB
// Sample chats seeded into the grid by default. Replace via the Load JSON panel.
window.SAMPLE_CHATS = [
{
id: "c1", source: "Intercom", title: "Pricing question for team plan",
createdAt: "2026-07-28T09:12:00Z", updatedAt: "2026-08-02T14:30:00Z",
messages: [
{ role: "customer", content: "Hi! We're a 12-person team interested in your Pro plan. Do you offer a discount for annual billing?", ts: "2026-07-28T09:12:00Z" },
{ role: "agent", content: "Hey! Great to hear. Yes — annual billing gets you 2 months free, and at 12 seats you qualify for our team tier which unlocks SSO and audit logs.", ts: "2026-07-28T09:20:00Z" },
{ role: "customer", content: "Perfect. Can you send a quote and book a demo for Friday?", ts: "2026-08-02T14:30:00Z" }
]
},
{
id: "c2", source: "ChatGPT", title: "Refund not processed",
createdAt: "2026-07-30T11:00:00Z", updatedAt: "2026-08-01T08:45:00Z",
messages: [
{ role: "user", content: "I cancelled my subscription two weeks ago and still got charged. This is really frustrating.", ts: "2026-07-30T11:00:00Z" },
{ role: "assistant", content: "I'm sorry for the trouble. Let me look into your account and process the refund right away.", ts: "2026-07-30T11:05:00Z" },
{ role: "user", content: "Thanks. I just want this resolved, I'm considering switching to a competitor.", ts: "2026-08-01T08:45:00Z" }
]
},
{
id: "c3", source: "Claude", title: "Onboarding help for API integration",
createdAt: "2026-08-01T16:10:00Z", updatedAt: "2026-08-02T10:20:00Z",
messages: [
{ role: "user", content: "Trying to wire up your API to our Node backend. Getting a 401 on every request.", ts: "2026-08-01T16:10:00Z" },
{ role: "assistant", content: "A 401 usually means the API key isn't being sent in the Authorization header. Here's a minimal example…", ts: "2026-08-01T16:18:00Z" },
{ role: "user", content: "That worked! Loving the speed so far. Will likely upgrade to the paid tier next week.", ts: "2026-08-02T10:20:00Z" }
]
},
{
id: "c4", source: "Devin", title: "Bug report: export to CSV fails",
createdAt: "2026-07-29T13:00:00Z", updatedAt: "2026-07-29T13:40:00Z",
messages: [
{ role: "user", content: "Export to CSV throws a 500 error when the dataset is over 10k rows.", ts: "2026-07-29T13:00:00Z" },
{ role: "assistant", content: "Thanks for the report — I've reproduced it and filed a ticket. Workaround: filter to <10k rows before exporting.", ts: "2026-07-29T13:40:00Z" }
]
},
{
id: "c5", source: "Intercom", title: "Enterprise security review",
createdAt: "2026-07-25T10:00:00Z", updatedAt: "2026-08-02T16:00:00Z",
messages: [
{ role: "customer", content: "We're a regulated fintech and need SOC2, DPA, and a security questionnaire completed before we can sign.", ts: "2026-07-25T10:00:00Z" },
{ role: "agent", content: "Absolutely — here's our SOC2 Type II report and DPA. I'll loop in our security team for the questionnaire.", ts: "2026-07-25T10:30:00Z" },
{ role: "customer", content: "Great, everything checks out. Ready to move forward with a 50-seat annual contract.", ts: "2026-08-02T16:00:00Z" }
]
},
{
id: "c6", source: "ChatGPT", title: "Feature request: dark mode",
createdAt: "2026-08-02T09:00:00Z", updatedAt: "2026-08-02T09:15:00Z",
messages: [
{ role: "user", content: "Any chance of a dark mode? My eyes hurt at night.", ts: "2026-08-02T09:00:00Z" },
{ role: "assistant", content: "Good news — dark mode shipped last month! Toggle it in Settings → Appearance.", ts: "2026-08-02T09:15:00Z" }
]
},
{
id: "c7", source: "Claude", title: "Casual chat about recipes",
createdAt: "2026-07-27T19:00:00Z", updatedAt: "2026-07-27T19:25:00Z",
messages: [
{ role: "user", content: "Got any good 30-minute pasta recipes?", ts: "2026-07-27T19:00:00Z" },
{ role: "assistant", content: "Sure! A classic aglio e olio takes about 20 minutes…", ts: "2026-07-27T19:10:00Z" },
{ role: "user", content: "Yum, trying that tonight. Thanks!", ts: "2026-07-27T19:25:00Z" }
]
},
{
id: "c8", source: "Intercom", title: "Churn risk: downgrading",
createdAt: "2026-08-02T11:00:00Z", updatedAt: "2026-08-02T11:30:00Z",
messages: [
{ role: "customer", content: "Budget cuts — we need to drop from 20 seats to 5, or maybe cancel entirely.", ts: "2026-08-02T11:00:00Z" },
{ role: "agent", content: "Understood. I can apply a 3-month loyalty discount to keep you on 10 seats at the 5-seat price — would that help?", ts: "2026-08-02T11:30:00Z" }
]
}
];