Open huizarmx opened 5 years ago
Anyone that may have a suggestion?
@matthewayne I would really appreciate your thoughts on this issue. I think it's relevant for anyone using dialogflow to create bots that may integrate with platforms other than actions-on-google.
Kindest Regards
Same issue here.
Same issue here. I tried multiple custom payloads (from simple to more complex Adaptive Cards) and nothing seems to be working as custom payload.
any solution?
I'm trying to send a custom payload to SKYPE. I've tried with different custom playloads, but to keep the example as simple as possible, I'll use the simplest payload that I could think of:
The steps to reproduce the issue:
const payloadJSON = { 'text': 'Hi, my friend' }; const payload = new Payload(agent.SKYPE); payload.setPayload(payloadJSON); agent.add(payload);
{ "payload": { "skype": { "text": "Hi, my friend" } }, "outputContexts": [ ] }
I would expect Skype to receive the response successfully. The strange thing here is that if I set a custom payload in the dialogflow console, for example for the Default Falback Intent as follows:
And i write something in skype that falls into the Default Fallback Intent, I receive the correct response.
It seems to me that this is a bug. Am I doing something wrong?