Discover how to pipe live user data from the Autoplay SDK directly into your Tidio Lyro AI Agent. This guide covers building an async listener to capture real-time events, process the incoming data stream, and persist everything locally.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.
β¨ Final result
π Prerequisites
Complete the Quickstart. You should have:- PostHog in the browser β snippet, API key,
product_idonidentify(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-sdkinstalled β and a successful test stream from the Quickstart- A Tidio account
The building blocks
Follow the steps in order β each page stands alone so you can ship incrementally.- Connect real-time events β Set up the Tidio Lyro AI Agent, wire the backend server and listener, and embed the chat widget in your frontend app.
- Define proactive triggers β Proactively message users in Tidio based on what theyβre doing in your product. (Coming soon)











