How-to guide
How to Combine Ads With a Subscription in Flowise
This guide shows how to combine ads with a subscription in a Flowise app, the goal being to run ads on the free tier and a paid ad-free tier together. It builds on the Monetzly server SDK, so the approach is specific to how Flowise produces and streams responses.
Overview
Ads and subscriptions are not mutually exclusive for a Flowise app. A common setup runs Monetzly ads on the free tier and offers a paid, ad-free tier for power users — capturing revenue from casual and committed users alike.
Implementation is a branch on the response path: enable injection for free-tier sessions and skip it for paying users, based on your own Flowise app's user state.
Flowise apps are usually built for visual chatbot building, no-code RAG, and prototyping agent flows, so combine ads with a subscription typically comes up while a user is mid-conversation, the moment where monetization has to be additive rather than disruptive.
How this works on Flowise
Flowise runs on Node, so the Monetzly SDK can live in the layer that consumes a flow's prediction stream. Call the Flowise prediction API with streaming enabled, adapt its SSE token events to { content }, and pass them through sdk.inject() before relaying to your users. Confirm the streaming response shape for your Flowise version / deployment.
Because Monetzly's inject() accepts any async token stream, the Flowise side of this task is just mapping your output to it, no rewrite of your Flowise model call.
Steps
- Determine the user's tier from your Flowise app's auth/session state.
- Run ad injection for free-tier sessions.
- Skip injection (return the plain stream) for paying, ad-free users.
Frequently asked questions
Start monetizing in about 5 minutes
Wrap your existing LLM response stream with the Monetzly SDK and earn on every session, no paywall required.