Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Welcome Message to BOT

Hi,

how to set a welcome message in IM/ROOM without having any greeting message from client or end user.

for eg.,
current model we have is, once we sent "hi" to bot. BOT will check for the word and replay with - How May i help you (with few Symphony Elements options).

Without sending any "hi" to BOT, is possible to show the Welcome messgae (how may i help you) ?

Because post getting the "Hi" we will have the streamId, using that we can able to reply. But to post the welcome message without streamId is possible ?

any other solution or suggestion.

Kindly do the needful.

Regards,
Sabarirajan M

Votes Newest

Answers


You can use the INSTANTMESSAGECREATED event and the USERJOINEDROOM event for that purpose. Note that the IM created event only fires for the very first time that a bot and a user communicate. It will not fire subsequently even if the user closes the window and returns.

https://docs.developers.symphony.com/building-bots-on-symphony/datafeed/real-time-events#im-mim-created

https://docs.developers.symphony.com/building-bots-on-symphony/datafeed/real-time-events#user-joined-room

  
  
Posted 2 years ago
Yong Sheng Tan
39 × 2 Administrator
4K Views
1 Answer
2 years ago
2 years ago
Tags