0.1.2 • Published 3 years ago

@botmock/dialogflow-cx-connector v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

@botmock/dialogflow-cx-connector

A package used to connect botmock exported file with dialogflow CX.

Installation

npm install @botmock/dialogflow-cx-connector

Usage

To upload botmock cx file into dialogflow cx

const connector = new DialogflowCXConnector({
          dialogflowCXConfig: {
              projectId: DF_PROJECT_ID,
              projectRegion: DF_REGION,
          }
});

await connector.upload({
        file: `PATH-TO-file` //Replace this with your path of cxJson
});