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 support AI agent β 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)