codingforconvos

0.0.128 • Public • Published

codingforconvos

I created this NPM library to simplify the journey to success with pro-code conversation management. Dialogflow ES requires a pro-code solution to managing conversation runtime state effectively. The initial goal of this project is to make life easier for creating pro-code conversations in Google Dialogflow ES for use with Dialogflow phone gateway and Cisco Webex Contact Center.

sequenceDiagram
    participant User
    participant FacebookMessenger
    participant DialogflowES
    participant WebhookFulfillment
    User->>FacebookMessenger: Says: <br/>Hi there!
    FacebookMessenger->>DialogflowES: Detect Intent: <br/>Hi there!
    DialogflowES->>WebhookFulfillment: Fulfillment: <br/>Hi there!
    Note right of WebhookFulfillment: Update conversation state and<br/>navigate to the next turn!
    WebhookFulfillment-->>DialogflowES: Rsp: <br/>Hello, I'm Justin!
    DialogflowES-->>FacebookMessenger: Rsp: <br/>Hello, I'm Justin!
    FacebookMessenger-->>User: Rsp: <br/>Hello, I'm Justin!

Getting Started

Within the Dialogflow ES Console, navigate to Fulfillment, enable the In-line Editor.

dialogflow-es-nav-fulfillment dialogflow-es-fulfillment-inline-editor

Paste the contents of this template file into the index.js editor window.

Add the below dependency to the package.json editor window.

  "dependencies": {
    ...
    "codingforconvos": "^0.0.126",
    ...
  }

Click Deploy.

Documentation

The latest javascript documentation can be found here.

/codingforconvos/

    Package Sidebar

    Install

    npm i codingforconvos

    Weekly Downloads

    138

    Version

    0.0.128

    License

    GPL-3.0

    Unpacked Size

    118 kB

    Total Files

    12

    Last publish

    Collaborators

    • jusranda