Prompt
How do I trigger an in-app message after a user completes a key step?
Latest observation
Nov 1, 2026
OpenAI APIWeb search: off
To trigger an in-app message after a user completes a key step, you generally do one of these:
1) Track the key step as an event
Send an analytics event when the user finishes the action, for example:
completed_onboardingcreated_projectmade_first_purchase
2) Define the in-app message to target that event
In your in-app messaging tool, create a rule/trigger like:
- “Show this message when event
created_projectis received” - Optionally add audience filters, timing, or frequency limits
3) Fire the event from your app at the right moment
For example, after the user taps “Finish” and the backend confirms success:
analytics.track("created_project", {
project_id: "123"
});
4) Make sure the message is eligible to show
Check that:
- the user is enrolled in the campaign/flow
- the message isn’t suppressed by frequency caps
- the user is on a supported screen/session state
- any required identifiers are set
Common pattern
If the step has server-side confirmation, trigger the event only after the server responds successfully. That avoids showing the message if the action failed.
Example flow
- User completes checkout
- App sends
purchase_completed - Messaging platform detects the event
- In-app message appears immediately or on next app view, depending on the SDK/tool
If you tell me which platform you’re using (Braze, Intercom, Firebase, OneSignal, Iterable, Airship, etc.), I can give you the exact setup and code.