Core components
Meya comes with a set of built-in components. These components are meant to provide you with the essential functionality that are most common for your bots. If there is a component missing, let us know (via the typical support or GitHub channels).
Default return action
All core components will return an action of
next
unless otherwise specified.next
is a reserved action that will automatically move the flow forward one step.
We will be adding more components to the core library over time. Follow our announcements for updates.
Component | Type | Description |
---|---|---|
| text | Outputs text to chat. link |
| text | Outputs a random choice of pre-defined text to chat. link |
| card | Outputs an image url that gets rendered as an image on all your integrations. link |
| card | Outputs the text specified as well as suggested responses. Gets rendered differently depending on the integration. link |
| card | Outputs the text specified as well as buttons. Gets rendered differently depending on the integration. link |
| card | Outputs the image url specified as well as suggested responses. Gets rendered differently depending on the integration. link |
| card | Outputs the image url specified as well as buttons. Gets rendered differently depending on the integration. link |
| card | A comprehensive card that allows you to specify: title, text, image url and suggestions. Gets rendered differently depending on the integration. link |
| card | A mutli-bubble card that outputs as many cards in a single message. Only supported by Messenger and Meya live chat. link |
| card | A receipt card that outputs receipt information for multiple items. Only supported by Messenger and Meya live chat. link |
| input | Reads any text from the user. link |
| input | Reads in text that matches a regex pattern. link |
| input | Reads in an integer from the user. link |
| input | Reads in human-readable dates from user. link |
| input | Interprets user location information by text or location pin 📍. Saves location information to user datastore. link |
| input | Gets an image url of an image uploaded by the user. link |
| nlp | Matches user intent and parses entity information from text using a wit.ai NLP model. link |
| nlp | Matches user intent and parses entity information from text using a luis.ai NLP model. link |
| nlp | A pre-trained nlp model that categorizes yes or no intents. link |
| conditional | Routes flow conditionally based on whether or not a data value is set in the datastore. link |
| conditional | Routes flow conditionally based on whether or not a value is equal to another value. link |
| conditional | Routes flow conditionally on the value of an NLP classifier's intent. (wit, luis, other) link |
| conditional | Routes randomly to another state. The magic 8 ball of conditionals. link |
| utility | A simple pass through component. Does nothing. link |
| utility | Set data in the specified datastore scope. link |
| schedule |
|
| schedule | Delay a state transition based on a defined schedule. |
| schedule | Stop an already running schedule. Used to stop |
| schedule | Asynchronously start a flow and continue to the next state. link |
| Pause the bot for a particular user. Should be used inSalesforce Live Agent callback event handlers only. Using |
Updated 18 days ago