Skip to main content

Example: marketing-lab

marketing-lab is a smoke / lab installable SDK app. Its only job is to register app.marketing({…}) so Admin Console → Marketing shows real audiences, variables, actions, and channels (ADR-004).

It is not a production marketing product.

install marketing-lab
→ solution-service capabilities.list on /qefro
→ marketing_registrations upsert
→ portal Marketing page lists registrations

What it registers

KindIds
Audiencespromo_opt_in, vip_people, all_static
Variablesperson_name, phone, booking_url
Actionsopen_landing (WhatsApp CTA)
Landingpromo_landing
Channelswhatsapp, website_widget

Develop & install

cd docs/examples/marketing-lab # qefro-plugin-platform
npm install
export QEFRO_SIGNING_SECRET=dev-secret
npm run dev

# Managed deploy (example)
docker build -t qefro-marketing-lab:0.1.0 .
qefro solution publish .
# Then install from Marketplace into a workspace

Until the package is installed in a workspace, the Marketing page stays empty.