Retriving prompts from dialogflow

87 views
Skip to first unread message

Keerthi Kothuri

unread,
May 23, 2019, 2:40:44 PM5/23/19
to dialogflow-enterprise-edition-users
Hi,

We have a bot consisting of 2 intents and each intents contains some questions. How to retrieve the prompts(questions) each time after the user answers the question??
Please help me in solving the issue

Matteo Longo

unread,
May 23, 2019, 11:28:34 PM5/23/19
to dialogflow-enterprise-edition-users
Hello. What do you want to retrieve is what the user “said” ?

Keerthi Kothuri

unread,
May 24, 2019, 4:28:56 PM5/24/19
to dialogflow-enterprise-edition-users
No, I need to retrieve the prompt(question).  We are receiving the whole fulfillment text only after all the questions are completed and would like to get fulfillment text(prompt) for each question answered. 

Ismail (Cloud Platform Support)

unread,
Sep 16, 2019, 10:08:47 AM9/16/19
to dialogflow-enterprise-edition-users

You would need to create a context in your fulfillment, and set a parameter in the context to the identifier of the question you're asking. 


You can find more details here. If this does not answer your question, could you provide an example with more details. 


Note that Google Groups is reserved for general product discussions. If you require further technical support it is recommended to post your detailed questions on Stack Exchange.


Aymal Khalid Khan

unread,
Jul 16, 2022, 10:32:40 AM7/16/22
to Dialogflow Essentials Edition users
Hi, Ismail. How to return context in fulfillment ?
  res = {
    "fulfillment_response": {
        "messages": [
            {
                "text": {
                    "text": [
                        text
                    ]
                }
            }
        ],
        'sessionInfo': { 'parameters': {'service_desk_phonenumber':'17372079207'}}
    }

VoiceWorx Ai

unread,
Aug 1, 2022, 12:28:29 PM8/1/22
to Dialogflow Essentials Edition users
Hi, I have a similar condition. I am using DialogFlow ES Slot Fulfillment. After the dialogflow calls webhook for slot fulfillment, and is going to prompt the user for next slot value, I want the next prompt to be the one I provide in the response.  But DialogFlow picks the prompt that has been set in the Intent Design. I've attached more details here .
GetPromptFromDialogFlowSlotFulfillment.docx
Reply all
Reply to author
Forward
0 new messages