jovo-plugin-fallback-airtable
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

This plugin logs data about incoming Default Fallback Intents to an Airtable spreadsheet. Tracks: UserID, Timestamp, Locale, State, Speech, Reprompt, Utterance (raw text).

Example

Installation

If you are using the Jovo Framework version < 2.0.0, please checkout the v1 branch here

First of all you have to sign up to Airtable.

After that go over to the template and click on Copy base on the top right corner.

You also need an API key, which you can generate on your account page

The last thing you need is your base's ID. First go the API page and choose your base. It's most likely named Jovo-Plugin-Fallback-Airtable. Scroll down to Authentication, switch the example tab to node.js and copy the string marked in the example picture:

Airtable Base ID

Now you can add the plugin to your project:

$ npm install jovo-plugin-fallback-airtable --save

In your app.js project:

const {FallbackAirtablePlugin} = require('jovo-plugin-fallback-airtable');
 
const app = new App();
 
app.use(
    // Other plugins
    new FallbackAirtablePlugin()
);

Last but not least, you have to add the api key and the base id to your config.js file:

module.exports = {
    // other configurations
    plugin: {
        FallbackAirtablePlugin: {
            baseId: '<base-id>',
            apiKey: '<api-key>'
        }
    }
};

License

MITs

Dependents (0)

Package Sidebar

Install

npm i jovo-plugin-fallback-airtable

Weekly Downloads

0

Version

2.0.2

License

MIT

Unpacked Size

9.08 kB

Total Files

8

Last publish

Collaborators

  • kaankc