Drop a single HTTP Request node after your n8n AI Agent node. Search every customer thread on desktop or mobile, redact pasted API keys automatically, and invite clients as read-only viewers.
Point a standard n8n HTTP Request node (POST) to https://api.view-chat.com. No community node install, no Postgres schema to maintain, and no brittle Google Sheets.
Tag each workflow with a client group like groups: ["client-acme"]. Invite your client's email on /groups and they only see their own bot's live conversations.
Customers paste passwords, tokens, and API keys into WhatsApp and web support chats. ViewChat replaces secrets with [secret detected] before storing any message.
Stop discovering broken n8n prompts from angry client messages. Schedule automated QA checkups to sample chats, email weekly digests, and flag loops early.
Method: POST | URL: https://api.view-chat.com | Send Body: JSON. Log both the incoming user message and the AI Agent output using the same sessionId.
{
"endpoint": "log",
"token": "={{ $env.VIEW_CHAT_TOKEN }}",
"payload": {
"event": {
"from": "={{ $json.sender || 'n8n-ai-agent' }}",
"text": "={{ $json.output || $json.chatInput }}",
"time": "={{ Date.now() }}"
},
"conversation": "={{ $json.sessionId }}",
"groups": ["client-acme"]
}
}