Back to blog
Articles
Tutorials
November 30, 2020
·
2 MIN READ

Syncing Dialogflow with HumanFirst

November 30, 2020
|
2 MIN READ

Latest content

Customer Stories
4min read

Lightspeed Uses HumanFirst for In-House AI Enablement

Meet Caroline, an analyst-turned-AI-expert who replaced manual QA, saved countless managerial hours, and built new solutions for customer support.
December 10, 2024
Customer Stories
4 min read

How Infobip Generated 220+ Knowledge Articles with Gen AI For Smarter Self-Service and Better NPS

Partnering with HumanFirst, Infobip generated over 220 knowledge articles, unlocked 30% of their agents' time, and improved containment by a projected 15%.
September 16, 2024
Articles
7 min read

Non-Technical AI Adoption: The Value of & Path Towards Workforce-Wide AI

Reviewing the state of employee experimentation and organizational adoption, and exploring the shifts in thinking, tooling, and training required for workforce-wide AI.
September 12, 2024
Articles
6 min read

AI for CIOs: From One-Off Use to Company-Wide Value

A maturity model for three stages of AI adoption, including strategies for company leaders to progress to the next stage.
September 12, 2024
Tutorials
4 min read

Building Prompts for Generators in Dialogflow CX

How to get started with generative features.
August 15, 2024
Announcements
3 min read

HumanFirst and Infobip Announce a Partnership to Equip Enterprise Teams with Data + Generative AI

With a one-click integration to Conversations, Infobip’s contact center solution, HumanFirst helps enterprise teams leverage LLMs to analyze 100% of their customer data.
August 8, 2024
Tutorials
4 min read

Two Field-Tested Prompts for CX Teams

Get deeper insights from unstructured customer data with generative AI.
August 7, 2024
Tutorials
5 min read

Optimizing RAG with Knowledge Base Maintenance

How to find gaps between knowledge base content and real user questions.
April 23, 2024
Customer Stories
4min read

Lightspeed Uses HumanFirst for In-House AI Enablement

Meet Caroline, an analyst-turned-AI-expert who replaced manual QA, saved countless managerial hours, and built new solutions for customer support.
December 10, 2024
Customer Stories
4 min read

How Infobip Generated 220+ Knowledge Articles with Gen AI For Smarter Self-Service and Better NPS

Partnering with HumanFirst, Infobip generated over 220 knowledge articles, unlocked 30% of their agents' time, and improved containment by a projected 15%.
September 16, 2024
Articles
7 min read

Non-Technical AI Adoption: The Value of & Path Towards Workforce-Wide AI

Reviewing the state of employee experimentation and organizational adoption, and exploring the shifts in thinking, tooling, and training required for workforce-wide AI.
September 12, 2024

Let your data drive.

Tutorials

Syncing Dialogflow with HumanFirst

ALEX DUBOIS
November 30, 2020
.
2 MIN READ

How to import an existing Dialogflow agent to HumanFirst using our command line integration.

Note: DialogFlow integration is currently in beta — please make sure to backup your project just in case!

HumanFirst supports importing Dialogflow ES agents into a workspace very easily. Dialogflow CX isn’t supported at the moment (see a comparison of the editions here). If you are interested in Dialogflow CX support, come give us a shout on our Slack community.

Let’s quickly explore how to import Dialogflow ES agents into HumanFirst!

Importing a Dialogflow agent

  1. In Dialogflow ES, go to the `Export and Import` section of your agent’s settings, then export your agent to a zip file.
  2. Unzip the downloaded file.
  3. Open a terminal to the directory in which the agent was unzipped. This directory should contain a file named agent.json .
  4. Import the agent in a workspace by running: hf dialogflow import — workspace [workspace id] — clear

Example:

5. You may now open the workspace in your browser.

Please note: we don’t provide any entity management features in the UX today, so you won’t see your entities in Studio; however they are kept as part of the data, and re-exported with your intent data.

Exporting a Workspace

Hint: You can track changes that have been done in HumanFirst by initializing a git repository in the directory of your unzipped agent and then committing the initial files originating from Dialogflow. By doing this, you will be able to easily compare the changes by using git diff.
  1. Open a terminal to the directory in which an exported Dialogflow agent has been unzipped. This directory should contain a file named agent.json.
  2. Export a HumanFirst workspace into the directory by running: hf dialogflow export — workspace [workspace id]

Example:

  1. Zip the agent directory: zip -r agent.zip .
  2. In Dialogflow ES, go to the `Export and Import` section of your agent’s settings, click on `Import from zip`, select the just-created agent.zip file and click on import.

Advanced usage

  • As previously mentioned, it is possible to mimic the follow-up intents hierarchy when importing the agent into HumanFirst. This will allow you to see the follow-up structure. Since HumanFirst doesn’t support follow-up intents yet, keep in mind that the follow-up structure may not be accurate when importing it back into Dialogflow. Use the--followup-hierarchy option at both the import and export to enable this option

Subscribe to HumanFirst Blog

Get the latest posts delivered right to your inbox