External Code Execution
findweather:
say "Let me query the weather in {{location}} for you..."
do weather = Fn("weatherchannel", location = location)
say "It will be {{weather.temperature}}°C tomorrow."Running App on CSML Studio
App on CSML StudioExecuting App calls
App calls{
"client": {
"bot_id": "unique-bot-id",
"user_id": "unique-user-id",
"channel_id": "unique-channel-id"
},
"function_id": "name_of_fn",
"data": {
"example": "somevalue",
"someparam": 123,
"obj_val": { "hi": "there" }
}
}Installing a custom nodejs App runtime
Last updated
Was this helpful?