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

Syncing Dialogflow with HumanFirst

November 30, 2020
|
2 MIN READ

Latest content

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
Tutorials
4 min read

Scaling Quality Assurance with HumanFirst and Google Cloud

How to use HumanFirst with Vertex AI to test, improve, and trust agent performance.
March 14, 2024
Tutorials
6 min read

Generating Chatbot Flow Logic from Real Conversations

How to build flexible, intuitive Conversational AI from unstructured customer data.
February 29, 2024
Announcements
2 min read

Full Circle: HumanFirst Welcomes Maeghan Smulders as COO

Personal and professional history might not repeat, but it certainly rhymes. I’m thrilled to join the team at HumanFirst, and reconnect with a team of founders I not only trust, but deeply admire.
February 13, 2024
Tutorials
4 min read

Accelerating Data Analysis with HumanFirst and Google Cloud

How to use HumanFirst with CCAI-generated data to accelerate data analysis.
January 24, 2024
Tutorials
4 min read

Exploring Contact Center Data with HumanFirst and Google Cloud

How to use HumanFirst with CCAI-generated data to streamline topic modeling.
January 11, 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

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