This integration deactives chat for specified rules e.g. unknown user-agent.
- Run
npm i
- Create an app in Developer Console.
- Create Authorization building block (server-side).
- Write down
client_idandclient_secret. - Run
cp .env.template .env
- Populate .env.
- Run
npm start
💸 Complete the task, submit a PR, and get $50 added to your Developer Program account. Developer Terms apply.
Using the Agent Chat API, send a message visible only to the agent with the following body: [chat-guard] Chat closed due to incorrect user agent
Happy coding! 🤓
