Skip to main content

tap-asyntai-chatbot-chatbot

A Singer tap for Asyntai.

Asyntai is an AI chatbot that answers visitor questions on your website. This tap loads what happens in those chats into your own warehouse, so the chat data sits next to your sales and product data.

Streams

Stream Grain Replication
sessions One chat Incremental on last_message_at
messages One message of a chat Full, per chat
leads A chat where the visitor left an email address or phone number Incremental on started_at
tickets A support ticket, with handling times Incremental on created_at

messages.session_id joins to sessions.session_id, and so do leads and tickets, so the four tables model one conversation together.

Installation

pipx install tap-asyntai-chatbot

Or with Meltano:

meltano add extractor tap-asyntai-chatbot

Configuration

Setting Required Default Description
api_key yes Asyntai API key
api_url no https://asyntai.com Base address of the API
start_date no Earliest record to read on the first run
website_id no Read one website only
page_size no 100 Rows per request, 100 at most

Get the API key in the Asyntai dashboard under Settings, then API. The API needs the Starter plan or higher.

tap-asyntai-chatbot --config config.json

A minimal config.json:

{
  "api_key": "your-asyntai-api-key",
  "start_date": "2026-01-01T00:00:00Z"
}

Usage with Meltano

plugins:
  extractors:
    - name: tap-asyntai-chatbot
      namespace: tap_asyntai_chatbot
      pip_url: tap-asyntai-chatbot
      capabilities: [catalog, state, discover, about, stream-maps]
      settings:
        - name: api_key
          kind: password
        - name: api_url
        - name: start_date
          kind: date_iso8601
        - name: website_id
        - name: page_size
          kind: integer
meltano config tap-asyntai-chatbot set api_key $ASYNTAI_API_KEY
meltano run tap-asyntai-chatbot target-postgres

How paging works

Every list endpoint of the Asyntai API sorts newest first and filters on the same field it sorts by. The tap sends the oldest value of one page as the exclusive before bound of the next one, which is the paging scheme the API documents. since carries the bookmark, so a second run reads only new rows.

Developing

pip install -e ".[dev]"
pytest
tap-asyntai-chatbot --about

License

Apache 2.0

Release files for tap-asyntai-chatbot 1.0.0

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

Source distribution (sdist)

Source distribution for tap-asyntai-chatbot 1.0.0
File Size Uploaded
tap_asyntai_chatbot-1.0.0.tar.gz 13.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tap-asyntai-chatbot 1.0.0
File Interpreter ABI Platform
tap_asyntai_chatbot-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.5 kB

Release files / tap_asyntai_chatbot-1.0.0.tar.gz

Download URL tap_asyntai_chatbot-1.0.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
673fb3562a3205fc080af06fb8f72c1cd653d9a06bb3fc92e5cd3c1bb61c5caa
BLAKE2b-256 checksum
How to use checksums
064347b6404b5c3fd255ea508d9acd4328c8bc7b7fdea98d70c2ce567e8b4859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.0

Release files / tap_asyntai_chatbot-1.0.0-py3-none-any.whl

Download URL tap_asyntai_chatbot-1.0.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
450367d250b289074aacff09c653ad83e6e3cb120d3c22a4264d558653c4a757
BLAKE2b-256 checksum
How to use checksums
6662cafd62635a35134fc2d0de4194ec519c2e99ab1dc038c6a87a5c4932d9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

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