Comments (8)
I'm having the same issue, Did you solved it??
from fulfillment-webhook-json.
I'm having the same issue, Did you solved it??
Nope, still waiting for someone from Dialogflow to help.
from fulfillment-webhook-json.
Maybe you forgot to enable webhook?
from fulfillment-webhook-json.
Maybe you forgot to enable webhook?
No ,its not a problem with webhook because if my webhook was disabled then the request would have never reached my webhook to expect a response. In this case the webhook is responding back with the above JSON body to prompt the user for SIGN IN card but it doesn't work.
from fulfillment-webhook-json.
I see. My result is the same, but I guess this is exactly what is expected. As I understand, you need to create special event inside Dialogflow to catch response from Actions on Google to your sign in request. It doesn't comes back by default into the same intent it was called from. You can look inside your History in dialogflow and you will find out unhandled event that comes back to you from AoG.
You can read how to properly create helper requests here: https://developers.google.com/actions/assistant/helpers
from fulfillment-webhook-json.
I see. My result is the same, but I guess this is exactly what is expected. As I understand, you need to create special event inside Dialogflow to catch response from Actions on Google to your sign in request. It doesn't comes back by default into the same intent it was called from. You can look inside your History in dialogflow and you will find out unhandled event that comes back to you from AoG.
You can read how to properly create helper requests here: https://developers.google.com/actions/assistant/helpers
Even if I use the below JSON body which I got from the Helpers page, it also gives the same result and no request comes back to the webhook for sign in or anything.
{ "payload": { "google": { "conversationToken": "{\"state\":null,\"data\":{}}", "expectUserResponse": true, "expectedInputs": [ { "inputPrompt": { "initialPrompts": [ { "textToSpeech": "PLACEHOLDER_FOR_SIGN_IN" } ], "noInputPrompts": [] }, "possibleIntents": [ { "intent": "actions.intent.SIGN_IN", "inputValueData": {} } ] } ] } } }
from fulfillment-webhook-json.
Hi again, sorry for such a long time to respond. Use the same message as in your first message. Beside that, you will also need to enable sign in action on dialogflow web site in your intent that you expecting that message to come back. Action name is the same as the name of intent you sent to AoG (actions.intent.SIGN_IN), if I'm not mistaking. Look in your history, and I am shoore that you will have unhadled event, for me that was the key to solve this problem. At least, after you send back this request to sign in from fullfilment, account linking that you setted up before, must run.
from fulfillment-webhook-json.
In Dialogflow, use the payload like this:
{
"google": {
"systemIntent": {
"intent": "actions.intent.SIGN_IN",
"data": {
"@type": "type.googleapis.com/google.actions.v2.SignInValueSpec"
}
},
"expectUserResponse": true
}
}
from fulfillment-webhook-json.
Related Issues (20)
- Add response structure for Transactions API with Dialogflow API V2. HOT 3
- actions_intent_SIGN_IN doesn't have profile data under conv->user->profile
- Cannot find field: replies in message google.cloud.dialogflow.v2beta1.Intent.Message
- Add "idToken" in request object
- I do not understand how to work with payload
- I am able to see, the below marked file as response.
- Custom payload for platforms like Telegram, Facebook, Slack HOT 2
- Non English language issue in version2 HOT 1
- Documentation of the Dialogflow Webhook protocol is missing
- Why "payload" instead of "data"? HOT 1
- browsecarousel sent but not displayed
- Unable to detect custom Intents after importing from pre-built agent or after adding custom intent to a pre-built agent in Dialogflow
- Warning, FIREBASE_CONFIG environment variable is missing. Initializing firebase-admin will fail
- Does not match "fulfillment_messages" format HOT 1
- Trailing comma in request.json HOT 1
- Does not list JSON response format for Browsing carousel
- listSelect not working HOT 1
- Multiple buttons not showing in basic card
- Access-Control-Allow-Origin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fulfillment-webhook-json.