- Deploy with above button
- Fill in params and create
- IM_SHARED_SECRET (from Developer Portal -> App Settings)
- RINGCENTRAL_CHATBOT_CLIENT_ID
- RINGCENTRAL_CHATBOT_CLIENT_SECRET
- Go to Setting and Config Vars
- Copy DATABASE_URL value and paste to RINGCENTRAL_CHATBOT_DATABASE_CONNECTION_URI
- Copy domain (find it in Domains, https://your-service-name.herokuapp.com) and paste to RINGCENTRAL_CHATBOT_SERVER
- Go to Developer Portal -> App Settings
- Change OAuth Redirect URI to {RINGCENTRAL_CHATBOT_SERVER}/bot/oauth
- If Interactive Messages enabled, change Outbound Webhook URL to {RINGCENTRAL_CHATBOT_SERVER}/interactive-messages
- Go to Bot tab and
Add to RingCentral
- Go to https://app.devtest.ringcentral.com
- Search for your bot. It should show
welcome
upon conversation open. - type command
hello
. It should replyhello
. - type command
card
. It should send a card with a name on it. - submit a new name with the card. It should update the card.
- type command
card
again. It should show the new name tha is just given.