CFN Marketing Email Campaigns Skill

## Purpose

14 stars

Best use case

CFN Marketing Email Campaigns Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

## Purpose

Teams using CFN Marketing Email Campaigns Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cfn-marketing-email-campaigns/SKILL.md --create-dirs "https://raw.githubusercontent.com/masharratt/claude-flow-novice/main/.claude/cfn-extras/skills/marketing/cfn-marketing-email-campaigns/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cfn-marketing-email-campaigns/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How CFN Marketing Email Campaigns Skill Compares

Feature / AgentCFN Marketing Email Campaigns SkillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

## Purpose

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# CFN Marketing Email Campaigns Skill

## Purpose
Manage email marketing campaigns through n8n workflow integration. Create, schedule, test, and analyze email campaigns.

## Operations

### 1. create-campaign.sh
Create a new email campaign.

**Parameters:**
- `--name` (required): Campaign name
- `--subject` (required): Email subject line
- `--template-id` (required): Email template identifier
- `--segment-id` (required): Target audience segment
- `--from-email` (optional): Sender email address
- `--from-name` (optional): Sender name

**Example:**
```bash
./operations/create-campaign.sh \
  --name "Spring Sale 2025" \
  --subject "Save 30% This Spring!" \
  --template-id "spring-sale-template" \
  --segment-id "active-customers" \
  --from-email "marketing@company.com" \
  --from-name "Marketing Team"
```

### 2. schedule-campaign.sh
Schedule campaign delivery.

**Parameters:**
- `--campaign-id` (required): Campaign identifier
- `--schedule-time` (required): ISO 8601 datetime (e.g., 2025-11-01T10:00:00Z)
- `--timezone` (optional): Timezone (default: UTC)

**Example:**
```bash
./operations/schedule-campaign.sh \
  --campaign-id "campaign-123" \
  --schedule-time "2025-11-01T10:00:00Z" \
  --timezone "America/New_York"
```

### 3. send-test-email.sh
Send test email to specified addresses.

**Parameters:**
- `--campaign-id` (required): Campaign identifier
- `--recipients` (required): Comma-separated email addresses

**Example:**
```bash
./operations/send-test-email.sh \
  --campaign-id "campaign-123" \
  --recipients "test1@company.com,test2@company.com"
```

### 4. get-campaign-stats.sh
Retrieve campaign performance statistics.

**Parameters:**
- `--campaign-id` (required): Campaign identifier

**Example:**
```bash
./operations/get-campaign-stats.sh --campaign-id "campaign-123"
```

### 5. list-templates.sh
List available email templates.

**Parameters:**
- `--category` (optional): Filter by template category
- `--limit` (optional): Maximum results (default: 50)

**Example:**
```bash
./operations/list-templates.sh --category "promotional" --limit 20
```

## N8N Integration

All operations invoke n8n workflows via HTTP POST to endpoints configured in `.env`:
- `N8N_BASE_URL`: Base URL for n8n instance
- `N8N_API_KEY`: Authentication key

## Error Handling

Scripts return:
- Exit code 0: Success
- Exit code 1: Parameter validation error
- Exit code 2: Network/API error
- Exit code 3: Authentication error

## Response Format

All operations return JSON with structure:
```json
{
  "success": true,
  "data": { ... },
  "message": "Operation completed successfully"
}
```

Related Skills

We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.