Communication
LiveChat
10 min
true false 107false unhandled content type false unhandled content type requirements to use the livechat app in {{product name}} , you must have a livechat account connect livechat and {{product name}} to get started, you must first create a connection between livechat and {{product name}} , allowing the two services to communicate to create the connection, you need to livechat /#obtain client id and client secret in livechat livechat /#create the connection in obtain client id and client secret in livechat before you create the connection in {{product name}} , you should first create a custom application in your livechat account to obtain your client credentials to c reate a custom application in livechat and obtain your client id and client secret go to https //platform text com/console/apps/new and log in with your livechat credentials fill in the app name for product , choose livechat skip the infrastructure , as you don't need to select any click create app in the upper right corner, click manage app>edit app in the next window, click the +add buidling block button click the add block button select server side app click save in the emerging window, copy your client id and client secret values and store them in a safe place you will use them later in the client id and client secret fields in {{product name}} add https //www integromat com/oauth/cb/livechat2 https //www integromat com/oauth/cb/livechat2 for the redirect uri whitelist , and click the add+ button after that for access scopes , add the scopes you will need the following scopes are the minimum required to establish the connection click save changes in the top left corner, click the big plus button in the next window, click the + button to upload an icon, or generate random to create one click save changes at the bottom of the page in the left sidebar, click private installation click the install app button you should see the message that the app has been installed successfully create the connection in {{product name}} to establish the connection in make log in to your make account, add a livechat module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, change the name of the connection in the client id and client secret fields, enter the values copied from livechat click save if prompted, authenticate your account and confirm access you have successfully established the connection you can now edit your {{scenario singular lowercase}} and add more livechat modules if your connection requires reauthorization at any point, follow the connection renewal steps here docid\ so88fm6pkt0g adkddfzz set up a livechat webhook livechat has many instant modules — webhooks that watch for certain changes in livechat and immediately start your {{scenario singular lowercase}} when those changes happen to use these modules, you must set up the webhook in your livechat account to set up the webhook add a livechat instant module to your {{scenario singular lowercase}} and click create a webhook optional enter a name for the webhook in the webhook name field i n the connection field, select a connection for the webhook if you haven't created an livechat connection yet, refer to the livechat /#connect livechat and section above in the client id and client secret fields, enter the values copied from livechat click save > copy address to clipboard you'll paste this address in your livechat account log in to your livechat account on the left sidebar, click automate with webhooks click the + add webhook button select the event from the drop down menu in the target url , enter the webhook you copied in step 5 above click add webhook your webhook is now set up when the selected change occurs in livechat, {{product name}} will immediately be notified and start your {{scenario singular lowercase}} livechat modules after connecting to the livechat app, you can use the following types of modules to build your {{scenario plural lowercase}} chats watch incoming chat watch chat deactivated chat users watch user added to the chat watch user removed from a chat thread tags watch thread tagged watch thread untagged other make an api call additional information templates you can look for livechat templates in make's template gallery , where you'll find thousands of pre created {{scenario plural lowercase}} livechat resources livechat api documentation