Search code examples
dialogflow-es

Dialogflow Agent Conversation


Is there a way to get the Dialogflow agent's conversation history programmatically?

I made a chatbot using Dialogflow. Now I need to get the conversation history of my agent programmatically.


Solution

  • That feature (an important one) is not available yet.

    Since there is not an API call to retrieve a history of conversation So, the only way I know how is to

    Go to the Training tab and see the conversations that way, although it only gives the reply in the form of the intent, and not what the bot actually replied.

    But if you want to access all conversations history then don't go for one-click integration make your own login system with Outh2 and integrate using Detect Intent Api and store your conversations by logs.

    Then you can get conversation history programmatically.

    You need to log all the requests by writing your own code if you want to get the history.