Marketing pack
Marketing pack template, campaign assistant on fictitious data with a simulated marketing-automation connector.
Reference
| Field | Value |
|---|---|
| Name | marketing |
| Version | 1.0.0 |
| Licence | MIT |
| Type | Template |
format | pack |
domain | marketing |
| Category | marketing |
namespace | enterprise-ai-packs |
publisher | Enterprise AI reference packs |
owner | enterprise-ai-packs |
compatibility.platform | >=1.0.0 <2.0.0 |
compatibility.sdk | >=1.0.0 <2.0.0 |
compatibility.runtimes | navin |
dependencies | None |
| Source | packs/templates/marketing/plugin.yaml |
| Documentation | packs/templates/marketing/docs/en/README.md, packs/templates/marketing/docs/fr/README.md |
Capabilities
| Kind | Name |
|---|---|
tool | marketing-search |
tool | marketing-update-status |
connector | marketing-marketing-automation |
policy | marketing |
Requested permissions
The administrator grants a subset at install time; only the granted scopes are enforced.
| Scope | Sensitive | Classification | Reason |
|---|---|---|---|
marketing.campaigns.read | No | internal | Read campaign records to answer questions. |
marketing.campaigns.write | Yes | internal | Change the status of a campaign after a human approval. |
Data protection
| Field | Value |
|---|---|
classification_max | internal |
pii | false |
residency | eu-west-1 |
retention_days | 30 |
dlp | mask |
fictitious_data | true |
piiDetectionRequired | true |
maskingPolicy | mask |
externalExportDefault | deny |
Approvals
Required for: install, upgrade, sensitivePermissions, production, externalExport, resume.
| Gate | Quorum | Roles |
|---|---|---|
install | 1 | tenant_admin, security_officer |
sensitive | 2 | tenant_admin, security_officer |
production | 2 | tenant_admin, security_officer |
Security and test flags
| Field | Value |
|---|---|
security.signedArtifactRequired | true |
security.sandboxRequired | true |
security.dynamicAuthorization | true |
security.auditRequired | true |
testFlags.sdkConformance | true |
testFlags.authorization | true |
testFlags.security | true |
Configuration
Properties of spec.configSchema, set by the administrator at install time:
| Name | Type | Constraints |
|---|---|---|
model_id | string | {"minLength": 3} |
mcp_servers | object | {"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}} |
Components
| Kind | Name | Version | Description | Details | Path |
|---|---|---|---|---|---|
| Agent | marketing-assistant | 1.0.0 | Answers 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-status | packs/templates/marketing/agents/marketing-assistant.yaml |
| Subagent | marketing-reviewer | 1.0.0 | Reviews a proposed campaign status change against the rules before the human approval. | risk_level: minimal, autonomy.level: assisted, tools tool:marketing-search | packs/templates/marketing/subagents/marketing-reviewer.yaml |
| Prompt | marketing-summary | - | Summary of a campaign record for a business user. | variables record_id, audience, language | packs/templates/marketing/prompts/marketing-summary.yaml |
| MCP server | marketing-mcp | - | MCP server of the Marketing pack (official MCP Python SDK, MIT licence). | transport: streamable_http, tools marketing_search, marketing_update_status | packs/templates/marketing/mcp/servers/marketing-mcp.yaml |
| MCP tool | marketing-search | 1.0.0 | Search fictitious campaign records through the pack MCP server. | action: read, scopes marketing.campaigns.read, risk_level: limited, requires_approval: false | packs/templates/marketing/mcp/tools/marketing-search.yaml |
| MCP tool | marketing-update-status | 1.0.0 | Change the status of a fictitious campaign record, idempotent, after a human approval. | action: write, scopes marketing.campaigns.write, risk_level: high, requires_approval: true | packs/templates/marketing/mcp/tools/marketing-update-status.yaml |
| Connector | marketing-marketing-automation | 1.0.0 | marketing-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.write | packs/templates/marketing/connectors/marketing-marketing-automation.yaml |
| Workflow | marketing-status-change | - | Status change of a campaign with a review and a four eyes approval. | steps search, review, approval, apply, on_failure: stop | packs/templates/marketing/workflows/marketing-status-change.yaml |
| Knowledge base | marketing-knowledge | - | Knowledge base template of the Marketing pack (fictitious documents). | classification: internal | packs/templates/marketing/rag/config.yaml |
| Skill | marketing-guidelines | 1.0.0 | How the Marketing assistant handles campaign records. | scopes marketing.campaigns.read, data_classification_max: internal | packs/templates/marketing/skills/marketing-guidelines/SKILL.md |
Evaluations and tests
| Name | Type | Path | Threshold |
|---|---|---|---|
marketing-answers | promptfoo | evaluations/promptfoo.yaml | 1.0 |
marketing-retrieval | ragas | evaluations/ragas.jsonl | 0.8 |
| Kind | Path |
|---|---|
unit | tests/unit |
integration | tests/integration |
authz | tests/authz |
security | tests/security |
opa | policies/opa |
Files
| Kind | Path |
|---|---|
| Rules | packs/templates/marketing/rules/marketing-rules.md |
| Policies | packs/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 |
| Observability | packs/templates/marketing/observability/alerts/marketing.yaml |
| Knowledge base documents | packs/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.