Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow UX: How to access the user.utterance

Hi everybody,

i would like to send the last User utterance to a Webhook, but there doesn´t seem to be a placeholder for this.
"$last-user-utterance" only works inside a Generator, but nowhere else.
Bard suggested "$session.params.user_message", which does not work.

How can i access that last User message? I would like to send it to a RAG pipeline for answering of "open question answering"

thanks

Solved Solved
0 8 2,093
1 ACCEPTED SOLUTION

this is the request that Dialgoflow sends to your webhook. You do not have to add the user utterance, dialogflow manages that for you!

View solution in original post

8 REPLIES 8