Skip to content
Back to skills

Cfn Marketing Crm Contacts

ASecurity

Manage CRM contacts through n8n workflow integration. Create, update, retrieve contacts and manage contact segments. Create a new contact in CRM. **Parameters:** - `--email` (required): Contact email address - `--first-name` (optional): First name - `--last-name` (optional): Last name - `--company` (optional): Company name - `--phone` (optional): Phone number - `--custom-fields` (optional): JSON string of custom fields **Example:** ```bash ./operations/create-contact.sh \

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

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-crm-contacts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cfn Marketing Crm Contacts?

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

Security grade badge for Cfn Marketing Crm Contacts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/masharratt-cfn-marketing-crm-contacts/badge)](https://www.skillsdirectory.com/skills/masharratt-cfn-marketing-crm-contacts)

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 CRM Contacts Skill

## Purpose
Manage CRM contacts through n8n workflow integration. Create, update, retrieve contacts and manage contact segments.

## Operations

### 1. create-contact.sh
Create a new contact in CRM.

**Parameters:**
- `--email` (required): Contact email address
- `--first-name` (optional): First name
- `--last-name` (optional): Last name
- `--company` (optional): Company name
- `--phone` (optional): Phone number
- `--custom-fields` (optional): JSON string of custom fields

**Example:**
```bash
./operations/create-contact.sh \
  --email "john@example.com" \
  --first-name "John" \
  --last-name "Doe" \
  --company "Acme Corp" \
  --phone "+1-555-0100" \
  --custom-fields '{"industry":"Tech","size":"50-200"}'
```

### 2. update-contact.sh
Update existing contact information.

**Parameters:**
- `--contact-id` (required): Contact identifier
- `--email` (optional): Updated email address
- `--first-name` (optional): Updated first name
- `--last-name` (optional): Updated last name
- `--company` (optional): Updated company name
- `--phone` (optional): Updated phone number
- `--custom-fields` (optional): JSON string of custom fields to update

**Example:**
```bash
./operations/update-contact.sh \
  --contact-id "contact-123" \
  --company "New Company Inc" \
  --custom-fields '{"industry":"Finance"}'
```

### 3. get-contact.sh
Retrieve contact information.

**Parameters:**
- `--contact-id` (optional): Contact identifier
- `--email` (optional): Contact email (alternative to contact-id)
- `--include-history` (optional): Include interaction history (true/false)

**Example:**
```bash
./operations/get-contact.sh \
  --contact-id "contact-123" \
  --include-history true
```

### 4. add-to-segment.sh
Add contact to a segment/list.

**Parameters:**
- `--contact-id` (required): Contact identifier
- `--segment-id` (required): Segment/list identifier

**Example:**
```bash
./operations/add-to-segment.sh \
  --contact-id "contact-123" \
  --segment-id "active-customers"
```

### 5. remove-from-segment.sh
Remove contact from a segment/list.

**Parameters:**
- `--contact-id` (required): Contact identifier
- `--segment-id` (required): Segment/list identifier

**Example:**
```bash
./operations/remove-from-segment.sh \
  --contact-id "contact-123" \
  --segment-id "inactive-leads"
```

## 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.9 KB
  • operations/add-to-segment.sh1.7 KB
  • operations/create-contact.sh2.4 KB
  • operations/get-contact.sh2 KB
  • operations/remove-from-segment.sh1.7 KB
  • operations/update-contact.sh2.5 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.