Carry the right conversation across a login change
Treat login as an identity boundary, not just a page refresh. Test the signed-out and signed-in states, verify the authenticated identity before showing history, and send uncertain or missing context to a human without guessing who owns it.
What you need
For a support-platform or knowledge-base owner testing a chatbot embedded in a site where customers may sign in during a conversation.
- A synthetic visitor conversation and a separate test account with a known identity.
- The approved identity-verification method and session transition event.
- A test script covering sign-in, sign-out, refresh, account switch and failed verification.
Verify safe chatbot context handoff across a visitor-to-user identity change.
- Start a synthetic conversation as an anonymous visitor and record its test ID.
- Sign in to the intended test account without copying private data into the test.
- Check whether the platform links, retains or separates the prior conversation under its documented identity rules.
- Sign out, switch to a second test account and verify that the first account’s history is not shown.
- If identity or history is ambiguous, stop the automated answer and route the issue for authorized human review.
The old visitor thread must not leak to the next account
Synthetic test identities and conversation IDs only.
Scroll the table to see all columns.
| Starting state | Event | Expected history | Observed | Decision |
|---|---|---|---|---|
| Visitor A, thread C-11 | Sign in as Account A | Only C-11 if platform policy permits linking | C-11 shown | Review linking rule |
| Account A, thread C-11 | Sign out, then sign in as Account B | No Account A history | C-11 still shown | Fail; block chatbot context |
| Visitor B, thread C-22 | Sign in fails verification | No authenticated history | No history shown | Pass; ask for human help |
Account B sees Account A’s thread in the second row, so the flow fails. Do not resolve this by displaying the visitor history to every signed-in user; verify platform identity mapping and rerun the test.
What to hand over
An identity-transition test log with each state, expected conversation visibility, observed result and a pass, fail or review decision.
Limitation. The test can verify the configured cases, but cannot establish identity security for every browser, device, session timeout or platform configuration.
Next step
Bring a test-state diagram and synthetic conversations. Agree which history may be linked to an account and when the chatbot must stop.
Related guides
Sources
- Intercom developer documentation: update users without a page refresh and session behavior (accessed 2026-11-24)
- Intercom developer documentation: verify identities to protect conversation history (accessed 2026-11-24)
- Practitioner support thread about conversation history after sign-in (accessed 2026-11-24; platform-specific discussion)