A listener for chatlio, that creates a new ticket in RT containing the conversation transcript.
go get github.com/LunaNode/rtgo
go install
- Create a configuration file
- Run the service
- Point the chatlio callback to the correct address and port
RT_URL
e.g. https://rt.example.comRT_USERNAME
: e.g. live-chatRT_PASSWORD
: secretRT_QUEUE
: name of the RT queue
docker run -p 8080:8080 --name chatlio-rt-test --env RT_URL="https://rt.example.com" --env RT_USERNAME="john" --env RT_PASSWORD="secret" --env RT_QUEUE="general" sol1/chatlio-rt
curl --header "Content-Type: application/json" --request POST --data '{"messages": [{}], "visitorEmail": "user@example.com", "textBody": "Test message body"}' http://localhost:8080/transcript