Skip to content
Back to skills

Cfn Marketing Email Campaigns

ASecurity

Manage email marketing campaigns through n8n workflow integration. Create, schedule, test, and analyze email campaigns. 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 ./operatio

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
businessgobashspringapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add masharratt/claude-flow-novice --skill cfn-marketing-email-campaigns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfn Marketing Email Campaigns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cfn Marketing Email Campaigns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/masharratt-cfn-marketing-email-campaigns/badge)](https://www.skillsdirectory.com/skills/masharratt-cfn-marketing-email-campaigns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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"
}
```

Files in this skill

  • SKILL.md2.7 KB
  • operations/create-campaign.sh2.5 KB
  • operations/get-campaign-stats.sh1.5 KB
  • operations/list-templates.sh1.5 KB
  • operations/schedule-campaign.sh1.9 KB
  • operations/send-test-email.sh1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.