-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat(surveys): create survey cross-sell opportunity logic #41694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
adboio
wants to merge
1
commit into
graphite-base/41694
from
11-18-feat_surveys_create_survey_cross-sell_opportunity_logic
Closed
feat(surveys): create survey cross-sell opportunity logic #41694
adboio
wants to merge
1
commit into
graphite-base/41694
from
11-18-feat_surveys_create_survey_cross-sell_opportunity_logic
+184
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
Contributor
|
Size Change: +38 B (0%) Total Size: 3.41 MB ℹ️ View Unchanged
|
Contributor
🔍 Migration Risk AnalysisWe've analyzed your migrations for potential risks. Summary: 0 Safe | 0 Needs Review | 1 Blocked ❌ BlockedCauses locks or breaks compatibility Last updated: 2025-11-18 17:57 UTC (80bde47) |
ce2de5b to
5a7d485
Compare
b56cccc to
e223d81
Compare
a671dad to
540f6df
Compare
540f6df to
80bde47
Compare
8376cd2 to
873f786
Compare
80bde47 to
143ed62
Compare
143ed62 to
2c723ca
Compare
11526f8 to
1fb0030
Compare
2c723ca to
c385634
Compare
1fb0030 to
a475441
Compare
c385634 to
2da0d87
Compare
2da0d87 to
d6e817f
Compare
bc9b976 to
32394e7
Compare
d6e817f to
8370309
Compare
8370309 to
da5dc57
Compare
32394e7 to
7ead735
Compare
This was referenced Nov 21, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Problem
adding "opportunity detection" logic & button to support survey x insights cross sell.
user sees "Ask users why ->" on an insight, which prompts posthog AI to create a survey to help them improve conversion
Changes
new opportunity logic detects the "best" insight on a given dashboard to propose a survey, by this logic:
SurveyOpportunityButton opens posthog AI, prompting to create a survey to understand/fix low conversion
How did you test this code?
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Changelog: (features only) Is this feature complete?