---
schema_version: "1"
id: 73534aac074d302add21d1ed533ca58715b94c2252977cbaa883406f81737800
title: Manual Segment ETL Data Feed
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_pers_etl_manual_segment_data_feed.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_pers_etl_manual_segment_data_feed.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c8e6d420483bd18452759ec28e394b6cfa6c423ab414502576e3738832cf832e
description: Use the Manual Segment ETL data feeds to maintain manual segments.
products:
  - Marketing
  - Salesforce Personalization
release: "264"
---
# Manual Segment ETL Data Feed

Use the Manual Segment ETL data feeds to maintain manual segments.

## Create Manual Segments

Before using the Manual Segment ETL data feeds to update manual segments, you must create those segments in Personalization. The Manual Segment ETL data feeds can only update existing segments and can’t create additional segments. These ETL data feeds only add or remove user profiles from the segment, it doesn’t update any user profile attributes.

## Delta and Replace Modes

Personalization supports the following file modes for manual segments:

 
| Mode | Description |
| --- | --- |
| Delta mode | Adds or removes user profiles from manual segments. This mode supports changes to multiple segments in a single ETL file. |
| Replace mode | Replaces all user profiles for a single manual segment with the users in the ETL file. This mode only supports a single segment in an ETL file. To update multiple segments using this mode, you need a separate file for each segment. |

## Requirements

- ETL files must be in a .csv file format that adheres to the schema for the data feed. Files that don’t follow the file naming conventions or the appropriate schema result in errors and fail to process.
- Field names that begin with “attribute:” must match the custom attribute names on the User Attributes tab of the Settings > Attributes page.

## Filename Format

The filename format determines whether processing is in delta mode or replace mode:

 
| Format | Description |
| --- | --- |
| Delta format | `segment-delta-YYYY-MM-DD_HH-MM-SS.csv` |
| Replace format | `segment-replace-YYYY-MM-DD_HH-MM-SS.csv` |

## Schema

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:20.192307692307693%">
          <col style="width:35.8974358974359%">
          <col style="width:19.391025641025642%">
          <col style="width:14.423076923076922%">
          <col style="width:10.096153846153847%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d71227e182">Field Name </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d71227e185">Description </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d71227e188">Example Values </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d71227e191">Maximum Length </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d71227e194">Data Type </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d71227e182 ">
              <p style="margin-bottom:0;"><code>userId</code> or an identity attribute</p>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e185 ">
              <p>Required. Only unique identities can be included and updated through an
                ETL feed.</p>
              <p>If you aren’t using Personalization's multiple identities system, a user
                ID must be included. This ID must be one that is tracked within the
                system so that the events can be tied to the specific user profile.</p>
              <p style="margin-bottom:0;">If you're using Personalization's multiple identities system, userId
                isn’t referenced in ETL files. At least one identity attribute is
                required. Multiple identity attributes can be included for a single user
                by including multiple columns in the file. The correct header format for
                identity attributes is “attribute:” followed by the name of the identity
                attribute name as it appears in Personalization.</p>
            </td>

            <td data-label="Example Values" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e188 ">
              <p>jdoe</p>
              <p>john.doe@example.com</p>
              <p>C2e384084c8ac233</p>
              <p>attribute:emailAddress</p>
              <p>attribute:sfmcContactKey</p>
              <p>attribute:customerId</p>
              <p>attribute:sfcrmContactId</p>
              <p style="margin-bottom:0;">attribute:sfcrmLeadId</p>
            </td>

            <td data-label="Maximum Length" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e191 ">
              <p style="margin-bottom:0;">120</p>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e194 ">
              <p style="margin-bottom:0;">String</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e182 ">
              <code>segmentId</code>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e185 ">
              <p style="margin-bottom:0;">Required. The ID of the segment. See <a href="https://help.salesforce.com/s/articleView?id=mktg.mc_pers_segment_id_find.htm&amp;release=264.0.0&amp;type=5" title="You use a segment’s ID when defining its automation process in Automation Studio. There are also instances when you need a segment’s ID for an ETL data feed.">Find a Segment’s ID</a> for more
                information.</p>
            </td>

            <td data-label="Example Values" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e188 ">
              <p style="margin-bottom:0;">abcde</p>
            </td>

            <td data-label="Maximum Length" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e191 ">
              <p style="margin-bottom:0;">255</p>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e194 ">
              <p style="margin-bottom:0;">String</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Field Name" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e182 ">
              <code>updateType</code>
            </td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e185 ">
              <p>Identifies whether to add or remove the record for the segment. Accepted
                values are: Add and Remove. Defaults to Add when not specified.</p>
              <p style="margin-bottom:0;">Important: This field is used only by the delta mode.</p>
            </td>

            <td data-label="Example Values" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d71227e188 ">
              <p style="margin-bottom:0;">Add</p>
            </td>

            <td data-label="Maximum Length" class="slds-cell-wrap" style="vertical-align:top;" headers="d71227e191 ">
              <p style="margin-bottom:0;">255</p>
            </td>

            <td data-label="Data Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d71227e194 ">
              <p style="margin-bottom:0;">String</p>
            </td>

          </tr>
        </tbody>
      </table>

## Sample File Structure: Not using the multiple identities system, delta mode

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">userId </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">segmentId </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">updateType </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user1</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">abcde</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Remove</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user2</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">abcde</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Remove</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user3</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">abcde</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Add</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user444</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">fghij</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Remove</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user445</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">fghij</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Add</p>
            </td>

          </tr>
        </tbody>
      </table>

## Sample File Structure: Not using the multiple identities system, replace mode

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50.83932853717026%">
          <col style="width:49.16067146282973%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">userId </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">segmentId </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">userA</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">klmno</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">userB</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">klmno</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">userC</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">klmno</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">userD</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">klmno</p>
            </td>

          </tr>
        </tbody>
      </table>

## Sample File Structure: Using the multiple identities system, delta mode

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:39.743589743589745%">
          <col style="width:16.826923076923077%">
          <col style="width:18.429487179487182%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">attribute:alternateId </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">attribute:emailAddress </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">segmentId </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">updateType </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p style="margin-bottom:0;">fifthuser</p>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p style="margin-bottom:0;">user5@user.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm1</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Add</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p style="margin-bottom:0;">johndoe@jdoe.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm1</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Add</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">janedoe@jdoe.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm1</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Remove</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">sampleuser</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm2</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Add</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">exampleuserid</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">example@example.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm3</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">Remove</p>
            </td>

          </tr>
        </tbody>
      </table>

## Sample File Structure: Using the multiple identities system, replace mode

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.33333333333333%">
          <col style="width:31.570512820512818%">
          <col style="width:35.09615384615385%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">attribute:emailAddress </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">attribute:alternateId </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">segmentId </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">johndoe@jdoe.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm5</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">janedoe@jdoe.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm5</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">&nbsp;</td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">sampleuser</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm5</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">example@example.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">exampleuserid</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm5</p>
            </td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">user5@user.com</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">fifthuser</p>
            </td>

            <td class="slds-cell-wrap" style="text-align:left;vertical-align:top;">
              <p style="margin-bottom:0;">segm5</p>
            </td>

          </tr>
        </tbody>
      </table>

#### See Also

- [ETL File Requirements](https://help.salesforce.com/s/articleView?id=mktg.mc_pers_etl_file_requirements.htm&release=264.0.0&type=5 "ETL files contain entries such as users, products, subscription list members, promotions, transactions, and more. These files must be in a CSV format and can be encrypted or compressed. The file formats must follow the explicit schema requirements for each ETL data feed. Typically, you upload ETL files automatically using the SFTP site, but you can also manually upload a file.")
- [Monitor ETL Feed Jobs on the Feeds Dashboard](https://help.salesforce.com/s/articleView?id=mktg.mc_pers_etl_feeds_dashboard.htm&release=264.0.0&type=5 "The Feeds Dashboard provides details about ETL feed jobs.")
- [Limits for Marketing Cloud Personalization](https://help.salesforce.com/s/articleView?id=mktg.mc_pers_limits.htm&release=264.0.0&type=5 "Learn about the limits and capabilities in Marketing Cloud Personalization.")