MonetizationOS Docs

Recipes

Practical how-to guides for getting specific jobs done with MonetizationOS, from redeeming a Stripe Checkout offer to making surface decisions at the edge.

Each recipe walks you through what's needed to get one thing working, ready to adapt to your own setup.

Call an action from a workflow

This guide shows how to fire a trigger from a Surface workflow so an Action runs in response.

Dispatch data to a third-party webhook

Post trigger payload data from an Action workflow to an HTTP endpoint, using Webhook.site to verify delivery.

Display a message to a user

This guide shows how to use a Surface component workflow to display a targeted message based on user authentication state.

Geo-restrict and redirect users

Redirect users to locale-specific paths based on their geographic location.

Link Identities with an Endpoint

This guide shows how to create an endpoint that links an anonymous identity to an authenticated identity.

Push events to the data layer

Inject a script from a Surface component workflow that pushes identity data into window.dataLayer for analytics tools such as Google Tag Manager.

How to redeem a Stripe Checkout offer

Redeem a Stripe Checkout offer through the offer-redemptions endpoint and return a navigate action with a checkout URL.

Send a Slack message from an Action

This guide shows how to post a Slack message from an Action workflow when a trigger fires.

Decision based on Cookies

This guide shows how to use a Surface component workflow to read forwarded cookies and make a decision based on them.

Fetch Content from an external system

This guide shows how to use a Surface component workflow to fetch from an external API and display the data.

Decision based on Meta Tags

This guide shows how to use a Surface component workflow to read meta tags and make a decision based on it.

Decision based on Query Parameters

This guide shows how to use a Surface component workflow to read the query parameters and make a decision based on it.

Truncate content with fade out effect

This guide shows how to truncate article content with a fade-out effect using a Surface component workflow.