0.1.9 • Published 4 years ago

tripetto-chat-collector v0.1.9

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
4 years ago

Tripetto

Tripetto is a full-fledged form kit. Rapidly create and deploy smart flowing forms and surveys. Drop the kit in your codebase and use all of it, or just the parts you need. The visual editor is for form creation, the collector for response collection and the SDK for developing more form building blocks. Does this sound too technical? Try the app!

Chat collector

Version License Downloads Pipeline status Join the community on Spectrum Follow us on Twitter

What's this

This collector package is a chat UI for running Tripetto forms and surveys. In this UI the questions and elements (so called blocks) are displayed like a chat message. That allows you to build highly conversational interactions with your users.

Get started

There a multiple options how you can use this collector. From plain old HTML to React or using imports.

Option A: Embed in HTML using CDN

<script src="https://unpkg.com/tripetto-collector"></script>
<script src="https://unpkg.com/tripetto-chat-collector"></script>
<script>
TripettoChatCollector.run({
    definition: /** Supply a form definition here. */,
    onFinish: function(instance) {
        /** Implement your response handler here. */
    }
});
</script>

Option B: Using React

  1. Install the required packages from npm:
$ npm install tripetto-collector tripetto-chat-collector
  1. Use the React component:
import { Chat } from "tripetto-chat-collector";

ReactDOM.render(
  <Chat
    definition={/** Supply a form definition here. */}
    onFinish={instance => {
      /** Implement your response handler here. */
    }}
    />,
  document.getElementById("your-element")
);

Option C: Import from npm

  1. Install the required packages from npm:
$ npm install tripetto-collector tripetto-chat-collector
  1. Import the chat collector:
import { run } from "tripetto-chat-collector";

run({
    definition: /** Supply a form definition here. */,
    onFinish: instance => {
        /** Implement your response handler here. */
    }
});

Documentation

The complete Tripetto documentation can be found at docs.tripetto.com.

Support

Run into issues or bugs? Report them here and we'll look into them.

For general support contact us at support@tripetto.com. We're more than happy to assist you.

About us

If you want to learn more about Tripetto or contribute in any way, visit us at Tripetto.com.

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago