Connect PostHog + Dify + visual guidance tours into one proactive support system

Step-1: Connect real-time user-actions to dify

Step-2: Define your proactive triggers

:video_camera: Most teams have these three tools in their stack but don’t connect them:

  • A session replay / analytics provider (PostHog) providing live user activity

  • A chatbot (Dify)

  • Visual guidance tours (Shepherd.js, Intro.js, Appcues, etc.)

The result is support that only reacts. A user gets stuck, eventually opens the
chat, asks a generic question — and gets a generic answer, because the bot has
no idea where in the product they actually are.

Autoplay SDK is the connective tissue. It streams real-time user activity from
PostHog into your Dify chatbot and triggers visual tours at exactly the right
moment — personalised to each user’s session.

:world_map: What you’ll end up with:

  • A Dify chatbot that answers with full context of the user’s live session —
    “I can see you’ve been on the Settings page, here’s exactly what to click”

  • A proactive toast that appears when a user shows signs of being stuck —
    before they ask for help

  • A “Show me how” button inside chat that launches a step-by-step visual tour
    of the exact flow the user needs

:speech_balloon: Real-world example

Imagine one of your users has been clicking around your Settings page for the
last two minutes — opening menus, going back, trying again. They’re stuck,
but they haven’t asked for help.

Then this happens:

:bell: A small toast appears in the corner of their screen:
“It looks like you’re navigating Settings — can I help you find
what you’re looking for?”

:backhand_index_pointing_up: They click “Show me how.”

:speech_balloon: The Dify chatbot opens and replies:
“I can see you’ve been on the Settings page. What are you trying to do?
· Update your billing details
· Change your notification preferences
· Invite a team member
I can walk you through any of these.”

:white_check_mark: They click “Update billing details.”

:world_map: A visual tour launches:
· An overlay highlights the Billing tab in the sidebar
· Each step shows them exactly where to click
· One screen at a time, until they’re done

No ticket raised. No frustration. Just the right help, at the right moment,
without them having to ask.

No ticket raised. No frustration. Just the right help, at the right moment,
without them having to ask.