Home / All Integrations / Amplitude Analytics


Connect Amplitude Analytics to your chatbot

Send events to Amplitude Analytics

In order to use this library, you need to create an Amplitude account and retrieve an API key.



  • events must be an array of valid event objects
  • methods defaults to "sendEvents" and can be ommitted


do events = [
    "user_id": "can_be_any_string",
    "event_type": "flow1-step1"
    "user_id": "can_be_any_string",
    "event_type": "flow1-step2"
do App("amplitude", method="sendEvents", events=events)

For more information about the event object, refer to: https://developers.amplitude.com/docs/batch-event-upload-api#event

Discover similar integrations:
Google Analytics

Join the Community
on Slack Slack

Come and learn all about CSML with other chatbot enthusiasts on the CSML Community Slack! ūü§ó