Skip to main content

Marketing pack

Marketing pack template, campaign assistant on fictitious data with a simulated marketing-automation connector.

Reference​

FieldValue
Namemarketing
Version1.0.0
LicenceMIT
TypeTemplate
formatpack
domainmarketing
Categorymarketing
namespaceenterprise-ai-packs
publisherEnterprise AI reference packs
ownerenterprise-ai-packs
compatibility.platform>=1.0.0 <2.0.0
compatibility.sdk>=1.0.0 <2.0.0
compatibility.runtimesnavin
dependenciesNone
Sourcepacks/templates/marketing/plugin.yaml
Documentationpacks/templates/marketing/docs/en/README.md, packs/templates/marketing/docs/fr/README.md

Capabilities​

KindName
toolmarketing-search
toolmarketing-update-status
connectormarketing-marketing-automation
policymarketing

Requested permissions​

The administrator grants a subset at install time; only the granted scopes are enforced.

ScopeSensitiveClassificationReason
marketing.campaigns.readNointernalRead campaign records to answer questions.
marketing.campaigns.writeYesinternalChange the status of a campaign after a human approval.

Data protection​

FieldValue
classification_maxinternal
piifalse
residencyeu-west-1
retention_days30
dlpmask
fictitious_datatrue
piiDetectionRequiredtrue
maskingPolicymask
externalExportDefaultdeny

Approvals​

Required for: install, upgrade, sensitivePermissions, production, externalExport, resume.

GateQuorumRoles
install1tenant_admin, security_officer
sensitive2tenant_admin, security_officer
production2tenant_admin, security_officer

Security and test flags​

FieldValue
security.signedArtifactRequiredtrue
security.sandboxRequiredtrue
security.dynamicAuthorizationtrue
security.auditRequiredtrue
testFlags.sdkConformancetrue
testFlags.authorizationtrue
testFlags.securitytrue

Configuration​

Properties of spec.configSchema, set by the administrator at install time:

NameTypeConstraints
model_idstring{"minLength": 3}
mcp_serversobject{"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}}

Components​

KindNameVersionDescriptionDetailsPath
Agentmarketing-assistant1.0.0Answers questions on campaign records and prepares status changes for a human approval.risk_level: limited, autonomy.level: supervised, tools tool:marketing-search, tool:marketing-update-statuspacks/templates/marketing/agents/marketing-assistant.yaml
Subagentmarketing-reviewer1.0.0Reviews a proposed campaign status change against the rules before the human approval.risk_level: minimal, autonomy.level: assisted, tools tool:marketing-searchpacks/templates/marketing/subagents/marketing-reviewer.yaml
Promptmarketing-summary-Summary of a campaign record for a business user.variables record_id, audience, languagepacks/templates/marketing/prompts/marketing-summary.yaml
MCP servermarketing-mcp-MCP server of the Marketing pack (official MCP Python SDK, MIT licence).transport: streamable_http, tools marketing_search, marketing_update_statuspacks/templates/marketing/mcp/servers/marketing-mcp.yaml
MCP toolmarketing-search1.0.0Search fictitious campaign records through the pack MCP server.action: read, scopes marketing.campaigns.read, risk_level: limited, requires_approval: falsepacks/templates/marketing/mcp/tools/marketing-search.yaml
MCP toolmarketing-update-status1.0.0Change the status of a fictitious campaign record, idempotent, after a human approval.action: write, scopes marketing.campaigns.write, risk_level: high, requires_approval: truepacks/templates/marketing/mcp/tools/marketing-update-status.yaml
Connectormarketing-marketing-automation1.0.0marketing-automation connector of the Marketing pack. Simulated on fictitious data until the tenant configures it.system: marketing-automation, auth.type: api_key, scopes marketing.campaigns.read, marketing.campaigns.writepacks/templates/marketing/connectors/marketing-marketing-automation.yaml
Workflowmarketing-status-change-Status change of a campaign with a review and a four eyes approval.steps search, review, approval, apply, on_failure: stoppacks/templates/marketing/workflows/marketing-status-change.yaml
Knowledge basemarketing-knowledge-Knowledge base template of the Marketing pack (fictitious documents).classification: internalpacks/templates/marketing/rag/config.yaml
Skillmarketing-guidelines1.0.0How the Marketing assistant handles campaign records.scopes marketing.campaigns.read, data_classification_max: internalpacks/templates/marketing/skills/marketing-guidelines/SKILL.md

Evaluations and tests​

NameTypePathThreshold
marketing-answerspromptfooevaluations/promptfoo.yaml1.0
marketing-retrievalragasevaluations/ragas.jsonl0.8
KindPath
unittests/unit
integrationtests/integration
authztests/authz
securitytests/security
opapolicies/opa

Files​

KindPath
Rulespacks/templates/marketing/rules/marketing-rules.md
Policiespacks/templates/marketing/policies/opa/marketing.rego, packs/templates/marketing/policies/opa/marketing_test.rego, packs/templates/marketing/policies/openfga/model.fga, packs/templates/marketing/policies/openfga/tests.fga.yaml
Observabilitypacks/templates/marketing/observability/alerts/marketing.yaml
Knowledge base documentspacks/templates/marketing/rag/documents/guide.md

Install it​

Validate, build, sign and publish the pack, then install it from the Marketplace: the preflight checks the capabilities and the configuration before the installation.

enterprise-ai plugin validate packs/templates/marketing
enterprise-ai plugin build packs/templates/marketing --out /tmp/marketing-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/templates/marketing --out /tmp/marketing-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/templates/marketing --out /tmp/marketing-dist --key cosign.key \
--oci <registry>/packs/marketing:1.0.0

cosign.key: signing key of your organization. <publisher>: publisher name registered in the Marketplace. <registry>: OCI registry of the Marketplace. Then call POST /v1/marketplace/preflight and POST /v1/marketplace/installations, see the Marketplace guide.