Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

zendesk/sunshine-conversations-channel-transfer-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smooch Channel Transfer Examples

This project shows how to use Smooch's channel transfer feature to link a user across multiple messaging channels. This project highlights two ways this can be done:

  1. Moving a user from a social channel like Facebook Messenger to an embedded chat in a Web app.

  2. Moving a user from a web chat to a social channel like Facebook Messenger.

For more information on this feature, see this guide.

Get started

  1. Create a config.json file in the project's root based on the contents of config.json.example.

  2. Configure a webhook to point from your Smooch app to a publicly accessible endpoint, /api/webhooks, on this service.

  3. Change directory to either social-to-web or web-to-social and npm install and npm start to run the project.

Trying social-to-web

  1. Make sure you have a social channel like Facebook Messenger configured on your Smooch app.

  2. Visit that channel as an end-user and send a message.

Trying web-to-social

  1. Make sure you have a social channel like Facebook Messenger configured on your Smooch app.

  2. In your browser, visit localhost:8000, or whatever host this service is deployed to, and initiate a conversation over the Web messenger.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published