Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.autoplay.ai/llms.txt

Use this file to discover all available pages before exploring further.

Learn how to connect live user data from the Autoplay SDK straight into your Landbot agent. This guide walks through setting up an async listener to capture real-time events, process the incoming stream, and store everything locally β€” keeping your data completely private and under your control.

✨ Final result

Landbot chatbot showing a context-aware response based on real-time user activity

πŸ“‹ Prerequisites

Complete the Quickstart. You should have:
  • PostHog in the browser β€” snippet, API key, product_id on identify (and email after login if you use it)
  • Connector credentials β€” URL, API token, stream URL (e.g. https://your-connector.onrender.com/stream/ plus your product id from the dashboard) β€” used in Step 2 only for the Autoplay stream
  • autoplay-sdk installed β€” and a successful test stream from the Quickstart
  • A Landbot account

The building blocks

Follow the steps in order β€” each page stands alone so you can ship incrementally.
  1. Connect real-time events β€” Set up the Landbot workflow, wire the backend server and listener, and embed the chatbot in your frontend app.
  2. Define proactive triggers β€” Proactively message users in Landbot based on what they’re doing in your product. (Coming soon)