title: Error: com.google.apps.framework.request.BadRequestException: Invalid agent zip. Missing required json file agent.json
body: <p>I have been working on a <strong>Telegram</strong> chatbot for which I need to export the <strong>intents</strong> on <strong>Dialogflow</strong>. My intents folder does not contain any <strong>JSON</strong> file called agent.json and hence I keep getting this error-</p>
  <blockquote>
  <p>com.google.apps.framework.request.BadRequestException: Invalid agent zip. Missing required json file agent.json</p>
  </blockquote>
  <p>I have also read a couple of answers such as this- <a href="https://stackoverflow.com/a/60981939/15047242">https://stackoverflow.com/a/60981939/15047242</a> and it seems that DialogFlow requires an agent.json file within the intents' ZIP file.</p>
  <p><strong>I do not know <em>what an agent.json file is</em>, <em>what it is useful for</em>, and <em>what should it contain</em>.</strong></p>
  <p>Any feedback and comment will be extremely helpful to me. Thanks a ton!</p>