dialogflow-botkit-client
dialogflow-botkit-client copied to clipboard
slack outgoing webhook with api.ai
Hi @xVir ,
We are working on a slack channel integrating with api gateway and lambda, which backed by api.ai. The workflow: slack channel(outgoing webhook)--> post api-gateway --> invoke lambda --> call api.ai
-
In the lambda function, what is the best sdk to use when we try to integrate with api.ai, there are api-ai-botkit and api-ai-slack-bot and etc. Or we should build our own ?
-
Shall we use slack-command instead of outgoing-webhook, as it is easier to get response ?
Thank you in advance, Jady
Hi @JadyLiu
Sorry, our current samples is not intended to be used with outgoing webhook... So, it seems, you have to implement your own service for this. But it seems, the service could be rather simple.
But you could try to adapt api-ai-botkit
because of it uses botkit
lib and rather independent from particular protocol type. Please take a look at this botkit
docs https://github.com/howdyai/botkit/blob/master/readme-slack.md#working-with-slack-integrations
Shall we use slack-command instead of outgoing-webhook, as it is easier to get response ?
It depends on your case. It seems outgoing-webhook is more flexible.
Thanks!
@xVir Thank you for your prompt reply, I will have a look.
Cheers, Jady