---
schema_version: "1"
id: 85c60ff55669626a90d126988ff0357e9882b6314f0fffeda37b0b5141b66056
title: Add
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_folderAdd.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_folderAdd.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: aa29789f0bc502bc4c2ecaa0dd71553f9bdd0acc3ef0ff9d57975a6d5df4ece5
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Add

## Overview

Adds a new folder to your account as a child to a previously existing folder and returns the status

### Syntax

Add(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                    |
| ------- | ------ | ------------ | ---------------------------------------------- |
| **1**   | object | **Required** | JSON object representing new folder properties |

## Example

This sample code adds a folder to your account:

```
var newFolder = {
    "Name" : "Test Add Folder",
    "CustomerKey" : "test_folder_key",
    "Description" : "Test added",
    "ContentType" : "email",
    "IsActive" : "true",
    "IsEditable" : "true",
    "AllowChildren" : "false",
    "ParentFolderID" : 123456
};
var status = Folder.Add(newFolder);
```
