{"id":19778887,"url":"https://github.com/dialogflow/fulfillment-faq-nodejs","last_synced_at":"2025-07-07T12:10:23.109Z","repository":{"id":82729653,"uuid":"142179562","full_name":"dialogflow/fulfillment-faq-nodejs","owner":"dialogflow","description":"Integrating Dialogflow's Knowledge Connectors, Phone Gateway, and Actions on Google","archived":false,"fork":false,"pushed_at":"2019-01-02T19:19:35.000Z","size":29,"stargazers_count":17,"open_issues_count":0,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-30T21:39:03.107Z","etag":null,"topics":["actions-on-google","add-to-dialogflow","knowledge-connectors","telephony"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dialogflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-24T15:39:46.000Z","updated_at":"2022-05-20T05:08:30.000Z","dependencies_parsed_at":"2023-03-18T08:00:38.819Z","dependency_job_id":null,"html_url":"https://github.com/dialogflow/fulfillment-faq-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dialogflow/fulfillment-faq-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Ffulfillment-faq-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Ffulfillment-faq-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Ffulfillment-faq-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Ffulfillment-faq-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dialogflow","download_url":"https://codeload.github.com/dialogflow/fulfillment-faq-nodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialogflow%2Ffulfillment-faq-nodejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264075705,"owners_count":23553512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions-on-google","add-to-dialogflow","knowledge-connectors","telephony"],"created_at":"2024-11-12T05:32:34.204Z","updated_at":"2025-07-07T12:10:18.100Z","avatar_url":"https://github.com/dialogflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dialogflow FAQ Sample\nThe following sample uses [Knowledge Connectors](https://dialogflow.com/docs/knowledge-connectors) to create an agent surfaced on the Google Assistant and phone calls through [Actions on Google](https://developers.google.com/actions/) and Dialogflow's [Phone Gateway](https://dialogflow.com/docs/integrations/telephony).\n+ Knowledge connectors allow you to connect FAQ and knowledge-base-style articles to Dialogflow without creating any intents or manual configuration.  Dialogflow parses the documents and determines if a user's query would be satisfied by information in the document, and if it is, the information from the document is relayed back to the user.\n\n+ This sample is meant to be a starting point for developers looking to create an action that is also accessible by phone as well as developers looking to connect FAQ or knowledge base data to a Dialogflow agent.\n\n## Setup\nTo create this agent from our template:\n\n\u003ca href=\"https://console.dialogflow.com/api-client/oneclick?templateUrl=https://oneclickgithub.appspot.com/dialogflow/fulfillment-faq-nodejs\u0026agentName=FAQsample\" target=\"blank\"\u003e\n  \u003cimg src=\"https://dialogflow.com/images/deploy.png\"\u003e\n\u003c/a\u003e\n\n### Knowledge Connector\n1. From the left column, go to the **Knowledge** tab \u003e **Create Knowledge base**.  \n      + Name the knowledge base `Conference` \u003e  **Save**.\n2. To create a knowledge document: **Create the first one** and add:\n      + `Conference FAQ` for the Document Name,\n      + `text/csv` for the Mime Type,\n      + `FAQ` for the Knowledge type\n3.  Under **Data source** select `File on Cloud Storage` and enter `gs://cloud-next-csv/next-faq.csv` \u003e **Create**.\n4. On the same page, go to the Responses section \u003e **Add response** \u003e Set the default response to `$Knowledge.Answer[1]. Have any other questions?` \u003e **Save**.\n5. Under Responses, next to the **Default** tab \u003e add **Google Assistant** and **Simple Response** with the value `$Knowledge.Answer[1]. Do you have any more questions about Cloud Next?` \u003e **Save**.\n6. Try it out! In the Dialogflow simulator, enter `What time does the conference start and end?`.  \n      + You will see a response directly from the CSV: \"The first keynote starts at 9 AM on Tuesday and programming ends at 2:30 PM on Thursday. We highly recommend picking up your badge on Monday (anytime between 7 AM and 8 PM) or early on Tuesday to avoid lines.\"\n\n### Phone Gateway\n1. Go to the **Integrations** tab \u003e **Dialogflow Phone Gateway** \u003e **Next** \u003e **Create**\n2. Call the phone number displayed and talk to your agent!\n      + Note: Calling the gateway from a device using Project Fi, Google Voice, or Google Hangouts is not currently supported.\n\n### Google Assistant\n1. Go to the **Integrations** tab in the left column \u003e **Google Assistant** \u003e **Test** \u003e **Continue** in order to open the Actions on Google console.\n2.  In the Actions on Google simulator \u003e `Talk to my test app` and press enter.\n3. Continue the conversation with your Dialogflow agent through the Google Assistant!  \n      + You can also speak with you agent on any Google Assistant enabled device logged into the same Google account like Google Home speakers, smart displays, and mobile phones.\n\n## Make Contributions\nPlease read and follow the steps in the CONTRIBUTING.md.\n\n## License\nSee [LICENSE](LICENSE).\n\n## Terms\nYour use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the [Google APIs Terms of Service](https://developers.google.com/terms/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialogflow%2Ffulfillment-faq-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdialogflow%2Ffulfillment-faq-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialogflow%2Ffulfillment-faq-nodejs/lists"}