JWT User ID Mapping: Link Every Bot Conversation to a User
About this video
JWT user ID mapping connects every stored chatbot conversation to the authenticated user behind it, in your CRM, database or analytics tool.
In this video, a JWT User ID is mapped into your external log storage, so saved bot conversations carry a reliable user identifier instead of just a session ID or IP address. Support teams can see who started a chat and which account they belong to, analytics tools can tell repeat users apart, and every transcript becomes part of a real user's history.
Frequently asked questions
What is JWT user ID mapping?
It attaches the authenticated user's unique ID from the JWT to every saved bot conversation.
Where are the conversations stored?
In your external log storage, such as a CRM, database or analytics platform.
Why not just use the session ID?
A session ID or IP address doesn't tell you who the user is; the JWT user ID does.
Do I need to code this?
No. The mapping is configured without code.
Can ChatGPT or Claude run a SQL databases chatbot like this with Noca?
Yes. The Noca MCP Server connects Claude, ChatGPT, Grok or any MCP-compatible AI assistant to your Noca workspace, so you can ask the assistant in plain language to build the chatbot and test it, using only the tools you allow. Through Noca's SQL databases and Microsoft Teams connectors it can also read and update that data. In Noca, open Security & Credentials, then MCP Server, turn it on, choose the tool groups and copy the server URL. In Claude add it under Settings, Connectors, Add custom connector; in ChatGPT add it as a custom MCP server with OAuth. Details: https://noca.ai/mcp/
Can an AI agent run a SQL databases chatbot like this automatically?
Yes. A Noca AI Worker (digital employee) can run a chatbot like this for you around the clock: you describe the outcome in plain language and it carries out the steps across your connected systems, exactly as defined. https://noca.ai/prompt-to-worker/
Which Noca products are related to “JWT User ID Mapping: Link Every Bot Conversation to a User”?
Related Noca products: Noca Bots, which builds AI chatbots that answer from your knowledge base, follow your rules and take action, like creating Salesforce leads or opening Zendesk tickets (https://noca.ai/prompt-to-bot/); Noca Flows, which turns a prompt into an end-to-end workflow with steps, conditions, retries, error handling and logs across your systems (https://noca.ai/prompt-to-flow/). All Noca products share the same 60+ integrations and can be used from ChatGPT or Claude through MCP.
Does Noca integrate with Microsoft Teams?
Yes. Noca's Microsoft Teams connector reads and writes Microsoft Teams data and works across Noca flows, apps, chatbots and AI agents. https://noca.ai/integrations/microsoft-teams/
Learn more on noca.ai
- JWT User ID Mapping: Link Every Bot Conversation to a User – JWT user ID mapping connects every stored chatbot conversation to the authenticated user behind it, in your CRM, database or analytics tool.
- Putting a Name to Every Conversation with JWT User ID Mapping – Chat conversations can reveal a lot about what users need, what confuses them, and what they are trying to accomplish.
- Prompt to Bot (AI chatbot builder)
- AI chatbot
- Why user-level authentication matters for bots
Want this running on your own data?
Schedule a Demo