Host your own bot platform with the Bot Libre Enterprise Bot Platform
Bot Libre Forum : Create a greeting with data from Google BigQuery

RE: Create a greeting with data from Google BigQuery

by admin posted Jan 20 2017, 20:56

You can access any web service using a Self script.
See,
https://www.botlibre.com/forum-post?id=13020078

For a greeting you can use a "redirect" or "srai" template to redirect to a script.
i.e.
Template("{redirect "call bigquery"}")

Then you have a script like,

state Greeting { pattern "call bigquery" answer callBigQuery(); function callBigQuery() { var json = Http.requestJSON(...); ... }


Id: 15236899
Posted: Jan 20 2017, 20:56
Updated: Jan 20 2017, 20:57
Replies: 0
Views: 1518, today: 1, week: 1, month: 22
0 0 0.0/5