{"id":15619157,"url":"https://github.com/xavidop/dialogflow-cx-webhook-typescript","last_synced_at":"2025-09-05T19:45:39.779Z","repository":{"id":200457734,"uuid":"705550367","full_name":"xavidop/dialogflow-cx-webhook-typescript","owner":"xavidop","description":"Webhook for Dialogflow using Typescript types and local debugging","archived":false,"fork":false,"pushed_at":"2024-11-29T17:01:02.000Z","size":468,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T11:41:36.297Z","etag":null,"topics":["dialogflow","dialogflow-cx","google-cloud","google-cloud-function","google-cloud-platform","serverless"],"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/xavidop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2023-10-16T08:29:44.000Z","updated_at":"2024-09-21T06:37:14.000Z","dependencies_parsed_at":"2023-10-17T01:48:30.443Z","dependency_job_id":"4d45c3ef-aa53-435f-b54c-ae2178c23696","html_url":"https://github.com/xavidop/dialogflow-cx-webhook-typescript","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.4545454545454546,"last_synced_commit":"11ab0e6fafe733fce81154c9a426f41ba28a0b42"},"previous_names":["xavidop/dialogflow-cx-webhook-typescript"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavidop%2Fdialogflow-cx-webhook-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavidop%2Fdialogflow-cx-webhook-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavidop%2Fdialogflow-cx-webhook-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavidop%2Fdialogflow-cx-webhook-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xavidop","download_url":"https://codeload.github.com/xavidop/dialogflow-cx-webhook-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251357661,"owners_count":21576749,"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":["dialogflow","dialogflow-cx","google-cloud","google-cloud-function","google-cloud-platform","serverless"],"created_at":"2024-10-03T08:03:02.562Z","updated_at":"2025-04-28T17:42:36.859Z","avatar_url":"https://github.com/xavidop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Deploying your Dialogflow CX Webhook\n\nWith the code ready to go, we need to deploy it on Google Cloud so it can be connected to the agent.\n\nBefore we continue, make sure that you have enabled the Cloud functions API enabled:\n\n```bash\n    gcloud services enable cloudfunctions.googleapis.com\n```\n\nNow we can deploy our webhook with gcloud CLI on the root folder:\n\n```bash\n    gcloud functions deploy my-agent-ts-function --runtime nodejs18 --trigger-http --entry-point HandleWebhookRequest\n```\n\nThe public endpoint of this function is going to have this format:\n```bash\n    https://\u003cregion\u003e-\u003cproject-id\u003e.cloudfunctions.net/\u003cfunction-name\u003e\n```\n\nSo imagine that we have deployed this function in `us-central1` and the project `test-cx-346408`, the URL will look like this:\n```bash\n    https://us-central1-test-cx-346408.cloudfunctions.net/my-agent-ts-function\n```\n\nNow the code is ready to be tested on the Console!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavidop%2Fdialogflow-cx-webhook-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxavidop%2Fdialogflow-cx-webhook-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavidop%2Fdialogflow-cx-webhook-typescript/lists"}