Freshchat
NuacemOne uses the Freshchat Conversations API (v2). When an agent hands over, a conversation is opened in your Freshchat inbox (topic). When your team resolves it, the customer goes back to the NuacemOne agent (or the chat ends, as the agent is set up).
See Live agent handoff for how handoff works.
Before you start
Section titled “Before you start”- A Freshchat account (standalone or in Freshworks) with an inbox topic for handed-over chats.
- Admin access to Freshchat.
- You are an organisation admin in NuacemOne.
In Freshchat’s console
Section titled “In Freshchat’s console”- Go to Admin → API Tokens. Copy your API URL (the domain, for example
acme-123456.freshchat.comor amyfreshworks.comdomain) and generate an API key. - Find the topic (channel) id that new conversations should open in.
- Optional: find the group id to assign handoffs to.
- Go to Admin → Webhooks and copy the RSA public key Freshchat signs webhooks with (the whole block, from
-----BEGINto-----END).
In NuacemOne
Section titled “In NuacemOne”- Go to Settings → Channels → Live agents → Freshchat and choose Connect Freshchat.
- Enter:
- Name: a label.
- Freshchat API domain: for example
acme-123456.freshchat.com(nohttps://). - Topic (channel) id.
- Group id (optional).
- Webhook public key: paste the whole RSA public key.
- API key.
- Choose Connect. Copy the Webhook URL shown in the console.
- Choose Test connection.
Set the webhook in Freshchat
Section titled “Set the webhook in Freshchat”- Go to Admin → Webhooks and paste the Webhook URL from the console.
- Turn on these events: message create, conversation assignment and conversation resolution.
- Save.
Freshchat signs each webhook with the X-Freshchat-Signature header; NuacemOne checks it with the public key you entered.
Use it
Section titled “Use it”Choose the Freshchat connection in an agent’s Live agent handoff card, or in a workflow’s Human agent step, and publish.
Test it
Section titled “Test it”- Ask a published web chat agent for a person.
- Check the conversation appears in the topic with the transcript.
- Reply from Freshchat and check the customer sees it.
- Resolve the conversation and check the agent takes the chat back (or the chat ends).
Go-live checklist
Section titled “Go-live checklist”- Test connection shows Tested.
- The webhook has all three events turned on.
- The public key on the connection is the current one from Admin → Webhooks.
- The topic (and group, if set) is staffed when the agent offers a person.
- You have run one full handoff and resolve on a real chat.
Limits and costs
Section titled “Limits and costs”Freshchat bills seats and plans; see Freshchat pricing. API limits are in Freshchat’s API docs.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Fix |
|---|---|
| “Freshchat API domain is not in the expected format.” | Enter only the domain, ending in .freshchat.com or .myfreshworks.com. |
| “Webhook public key is not in the expected format.” | Paste the whole key including the -----BEGIN … PUBLIC KEY----- and -----END … PUBLIC KEY----- lines. |
| “The platform refused these credentials.” | Generate a new API key under Admin → API Tokens. |
| “The platform did not find this account or app. Check the ids.” | Check the domain and topic id. |
| Replies never reach the customer | Turn on message create on the webhook, and check the public key matches. |
| The agent never takes the chat back | Turn on conversation resolution on the webhook. |