Node.js toolkit for safely auditing and deleting Data Extensions and folders in Salesforce Marketing Cloud (SFMC). Features dependency checking, dry-run mode, schema backups, protected item detection, and comprehensive audit logging.
git clone https://github.com/aali87/sfmc-scripting.gitNode.js toolkit for safely auditing and deleting Data Extensions and folders in Salesforce Marketing Cloud (SFMC). Features dependency checking, dry-run mode, schema backups, protected item detection, and comprehensive audit logging.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/aali87/sfmc-scriptingCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to clean up outdated Data Extensions in our [COMPANY] SFMC account. Here's what I want to do: [DESCRIBE TASK]. Please provide a step-by-step guide using the SFMC Scripting toolkit, including any necessary precautions or best practices for [INDUSTRY] compliance.
# SFMC Data Extension Cleanup Guide ## Step 1: Initial Assessment - **Current Data Extensions**: 147 - **Potentially Obsolete**: 42 (last modified > 12 months) - **Dependencies Identified**: 15 (active automation workflows, cloud pages, etc.) ## Step 2: Dry Run Execution - **Items Flagged for Deletion**: 27 - **Protected Items Detected**: 3 (system-critical extensions) - **Schema Backups Created**: 24 ## Step 3: Safe Deletion Process - **Data Extensions Deleted**: 24 - **Folders Cleaned**: 8 - **Audit Log Generated**: `DECleanup_20231015.log` **Recommendation**: Review the audit log and verify no active campaigns were affected.
Unlock data insights with interactive dashboards and collaborative analytics capabilities.
Enterprise CRM with AI-powered sales and service
Create Beautiful Branded Deliverables. Ship Professionally. Repeat.
Enterprise nonprofit CRM
Program evaluation
Facilitate continuous integration and agile project management with integrated DevOps tools.