Dialogflow CX - Web app integration

Hi! I have this web app that has the df-messenger embedded in it and already work on basic intents and flows. Now what I would like to do with it is, get a value from my browser’s session storage (values are mostly basic user information):

  1. df-messenger would automatically pop-up with a message if the value satisfies a certain condition. (e.g., would trigger a flow that will show an anniversary greeting or greets the user a welcome with his/her name)
    • I was hoping this task should not require any user input
  2. if there is an intent triggered (a question was asked by the user), a flow will run and that flow should be able to refer to the session storage value and use it within the flow.
    • I was hoping this task should only ask one fulfillment, afterwards it should provide the answer

Thank you!

1 Like