Skip to content

zendesk/sunshine-conversations-business-initiated-conversations-for-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Business Initiated Conversations on Web

This is a recipe for triggering an event on a website that causes a message to be sent to a new user.

How it works

When you run the web server included with this sample code, a website will be served with a Smooch Web messenger instance and a button element that triggers a server-side event. The web server listens for this event and sends a message to the Smooch user when triggered. If no user exists already one is created on the client before triggering the event.

Get started

  1. Create a .env file and fill in the environment variables based on the contents of .env.example.
  2. Run npm install.
  3. Run npm start.
  4. Visit http://localhost:<the_port_you_configured> in your browser.

About

Business Initiated Conversations on Web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published