This tutorial shows you how to connect your existing tools β a session replay provider, a Dify chatbot, and visual guidance tours β into a single personalised customer support experience. Autoplay SDK is the connective tissue that captures what each user is doing in real time and routes that context to the right tool at exactly the right moment.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.
What youβll orchestrate
- Session replay provider β captures what the user is doing in real time (PostHog or equivalent)
- Visual guidance tours β step-by-step flows triggered at the right moment (UserTour or equivalent)
- Dify chatbot β the conversational interface that answers questions
β¨ Final result


π Prerequisites
Complete the Quickstart. You should have:- PostHog in the browser β snippet, API key,
product_idonidentify - Connector credentials β stream URL and API token from your Autoplay dashboard
autoplay-sdkinstalled β and a successful test stream from the Quickstart- A Dify account β cloud at cloud.dify.ai or self-hosted, with an existing chatbot application
- A public HTTPS URL β where you can host the event-stream server
The building blocks
Follow the steps in order β each page stands alone so you can ship incrementally.- Connect real-time events β Set up the event-stream server, wire the Dify External Knowledge API, and tune background summarization.
- Define proactive triggers β Proactively message users in Dify based on what theyβre doing in your product. (Coming soon)











