A Salesforce Einstein Bot that helps you to find restaurants using Yelp . Visit https://yelp-assistant.web.app/ to see it in action.
This was presented as a Theater Session at Dreamforce 2019 - https://success.salesforce.com/sessions?eventId=a1Q3A000021ea1UUAQ#/session/a2q3A000002BJOwQAO
The bot is built using Einstein Bots (Salesforce). It uses the Yelp GraphQL API to find restaurants given a city, cuisine and price range.
What makes it unique is the usage of base Lightning Web Component namely - lightningsnapin-base-chat-message
to render an Image Carousel of the top 5 results.
- Sign-up for Yelp and generate an API Key (https://www.yelp.com/developers/graphql/guides/intro).
- Paste the API Key in the Custom Metadata -
Yelp Configuration.API Key
as shown below:
Note: You will need to setup Force.com Site, LiveAgent and Embedded Service Deployments manually.
This demonstrates the capability of Einstein Bots that let's us to customize the rendered message using LWC.
The Session Recording and the link to the Blog will be published soon.