plugin-marketing
Beta@fayz-ai/plugin-marketing
Marketing analytics are always the same shape — channels, campaigns, a funnel, landing-page CVR — but what counts as a "conversion" changes per business. A salon converts a booking, a store converts an order, an agency converts a lead. plugin-marketing is one plugin that adapts to all of them: pick a domain preset (or pass an explicit conversion model + channels) and the funnel, channel…
Ficha técnica
| Pacote | @fayz-ai/plugin-marketing |
|---|---|
| Versão | 0.2.1 |
| Status | beta |
| Capability | Capability parcial |
| Canal stable | ^0.2.1 |
| Migrations | 4 migration(s) |
| Factory | createMarketingPlugin() |
Modelo de dados
| Tabela | Colunas-chave |
|---|---|
plg_marketing_social_accounts | name, handle, platform, is_active |
plg_marketing_content_plans | account_id, name, status, weeks_count, start_date, objective |
plg_marketing_content_posts | plan_id, week_number, position, title, format, status |
Convenção plg_ + tenant_id + RLS. Modelo de dados.
Tools de IA
| id | modo | descrição |
|---|---|---|
marketing.channel-performance | read | Returns acquisition performance per channel (reach, conversions, CVR, spend, CPA). |
marketing.top-channels | read | Returns the top acquisition channels ranked by conversions. |
marketing.campaign-cvr | read | Lists campaigns with their conversion rate for a date range. |
marketing.create-campaign | persist | Creates an acquisition campaign on a channel. |
Ferramentas que um agente pode chamar contra o seu app. Seu app como camada de dados.
Integrações
Sem conector hospedado — provedores externos entram via connector spine. Veja o catálogo de integrações.
.md desta ficha (em plugins/plugin-marketing.md) é o contrato agent-consumable — modelo de dados, tools e integrações num só arquivo que uma IA lê direto. Preview O comando fayz skill add plugin-marketing chega em breve para instalar isso como skill. Veja Skills.Integrar
Adicione o plugin em surfaces.admin.plugins do app.manifest.json do seu app e rode o doctor para validar:
{
"surfaces": {
"admin": {
"plugins": [
{ "id": "marketing", "enabled": true }
]
}
}
}npx fayz doctorO fayz doctor confere o manifesto contra o catálogo do SDK. Veja Configuração para o passo a passo completo.
