Skip to main content

Celai Chatwoot Connector

celai-chatwoot is Python package that provides a connector for integrating the Cel.ai framework with Chatwoot. This allows seamless communication between your Cel.ai assistants and Chatwoot, enabling you to leverage Chatwoot's powerful customer support features.

Features

  • Easy integration with Chatwoot Bot API
  • Full stream mode support
  • Customizable bot settings

Installation

You can install the celai-chatwoot package using pip:

pip install celai-chatwoot

Usage

To use the celai-chatwoot connector, you need to create an instance of WootConnector and register it with the Cel.ai gateway. Below is an example of how to do this:

import os
from celai_chatwoot.connector import WootConnector

# Create an instance of WootConnector
conn = WootConnector(
    bot_name="Bot Name",
    access_key=os.environ.get("CHATWOOT_ACCESS_KEY"),
    account_id=os.environ.get("CHATWOOT_ACCOUNT_ID"),
    chatwoot_url=os.environ.get("CHATWOOT_URL"),
    bot_description="This is a test bot",
    stream_mode=StreamMode.FULL
)

# Register the connector with the gateway
gateway.register_connector(conn)

Environment Variables

The WootConnector requires the following environment variables to be set:

  • CHATWOOT_ACCESS_KEY: Your Chatwoot access key
  • CHATWOOT_ACCOUNT_ID: Your Chatwoot account ID
  • CHATWOOT_URL: The URL of your Chatwoot instance

Run your Cel.ai assistant, then a new Chatwoot bot called "Bot Name" will be created in your Chatwoot instance. Assign the bot to any Inbox you want to use it with.

Implemented Features

RECEIVE SEND
Text
Image
Audio
Files
Custom Attributes
Video
Location
Buttons -
Templates -

Roadmap

Current version: 0.1.0 supports basic Chatwoot features such as sending and receiving text messages. Future versions will include the following features:

  • Image and file uploads
  • Custom attributes
  • Audio and video messages

Contributing

We welcome contributions to the celai-chatwoot project. If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Special thanks to the Cel.ai and Chatwoot teams for their amazing frameworks and support.

Contact

For any questions or inquiries, please contact us at [alejamp@gmail.com].

Release files for celai-chatwoot 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for celai-chatwoot 0.2.1
File Size Uploaded
celai_chatwoot-0.2.1.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for celai-chatwoot 0.2.1
File Interpreter ABI Platform
celai_chatwoot-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 34.7 kB

Release files / celai_chatwoot-0.2.1.tar.gz

Download URL celai_chatwoot-0.2.1.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b17583f3fcc60f6d3274afa209bc42b7299bcaba1b47f7bab5896c2ae83b4d4b
BLAKE2b-256 checksum
How to use checksums
30816430cf696b20adb176157e171d1064512a73bdf5ac4f564419b9588fdbab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.8

Release files / celai_chatwoot-0.2.1-py3-none-any.whl

Download URL celai_chatwoot-0.2.1-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4145af925c7779fce508b616be253615e00128bf23783fb55a2765d596e14206
BLAKE2b-256 checksum
How to use checksums
31401afbd39f16bb31899cc65cbc4ad80f2b2d54ed402e8e74724e202969a205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page