This integration allows you to use a /yelp
slash command to integrate a Yelp business listing along with a clickable outbound link to the business' Yelp page.
This is an open source Mixmax Slash Command. See Mixmax slash command for more information on building integrations in Mixmax.
After following the setup instructions below, you should be able to trigger the integration with the /yelp
command in your email client. It should look like this:
- Make a copy of
/utils/_yelp.js
as/utils/yelp.js
. Register a Yelp developer API key here and fill in the necessary fields - Install dependencies using
npm i
- Run server using
npm start
Mixmax slash command APIs are required to be served over https. This is because they are queried directly from the Mixmax client in the browser (using AJAX) that's running on an HTTPS domain. Browsers forbid AJAX requests from https domains to call http APIs, for security. So we must run an https server with a locally-signed certificate.
- Go to your Mixmax integration settings panel
- Click Add Slash Command and enter the following values: <img src="resources/slash_command.png") width="438">
Detailed instructions can be found here.