Productsup

Use Dataflow to map your attributes from import to export

Dataflow: An overview of connecting attributes from import to export in Productsup.

Dataflow is a feature in Productsup that lets you map attributes from your import data to the attributes needed for your exports. To allow room for data transformations, Dataflow has three stages:

  • The import stage contains attributes uploaded to the platform from your data source. You can't make any changes to the data in your import stage. To do so, you need to connect your import-stage attributes to the intermediate stage.
  • The intermediate stage contains duplicates of all attributes from all exports added in your site. This is where you can apply data transformations relevant to all exports.
  • The export stage contains attributes specific to one export. You can apply data transformations relevant to each specific export at this stage. The name of the relevant export appears at the top of the export stage. If your site has multiple exports, you can choose the needed export in the export selection dropdown on the left.

In Dataflow, you can see different types of attributes highlighted with different colors or naming patterns:

  • The export stage has mandatory and optional attributes. Mandatory attributes are blue, while optional attributes are gray. UUID-6983682f-778a-4ed0-10a8-8cbe8c4fe86b
  • User-generated attributes created in the intermediate or export stage are striped in gray and white. UUID-d93ee09e-3ce2-070a-78ac-ae1042e2e2a5
  • Platform-generated attributes can be present at every stage in Dataflow. They always start with three underscores (___), which means the platform doesn't export them. These attributes can appear in your site when you use different features in a site, such as data services, segments, or unique item identifiers. UUID-60453450-86bd-09d8-ca9a-354c3ff96d17

This document covers the basics of attribute mapping in Dataflow. See Work with the Dataflow toolbar for more details on changing your view in Dataflow, automapping connections, etc.

Prerequisites

Before you can use Dataflow to map attributes from import to export, you must complete the following steps:

Create a site.

Add a data source in Data Sources, and select Import in the top-right corner of the page to let the platform import your data to the site.

Add at least one export in Exports.

Meaning of various attribute icons in Dataflow

If you hover over an attribute in Dataflow, you can see different icons in each attribute. Some of the icons may also be visible without hovering over the attributes.

All attributes have these two icons visible on a hover:

  • If you select the target icon UUID-90d5a567-fbbf-ef1e-4443-09421a76a522 , Dataflow hides all attributes from the view except for the chosen attribute and all attributes it is connected to. To revert the view change, select the icon again.
  • If you select the up-right arrow icon UUID-fcb7e4b5-b6be-982c-ba5f-85ba637d62e5 , Dataflow opens the side menu where you can apply rule boxes to the connections of this attribute.

Some import-stage attributes can display the following icons:

  • The branch icon UUID-f355d9e1-2b8d-dc9b-6630-20e8459a4359 indicates that the attribute appeared as a result of applying a data service.
  • The three dots icon UUID-8e530399-3377-552c-f4a3-6a4c8d3375bc shows that the attribute comes from an additional data source. Hover over it to see the exact import file it comes from.
  • The red warning icon UUID-503d98ee-c8fa-901a-1a05-6f733f9851d4 indicates that the connected attribute is missing in the data source or that a required attribute used in a rule box is absent.
  • The flag icon UUID-ae1632fd-df0a-26da-ed90-0423179ab646 indicates the site's unique item identifier attributes selected in the Settings tab in Data Sources.

Map attributes from import to export

Go to Dataflow from your site's main menu.

Select which export you want to map. This example uses Test Site - Google Merchant Center. UUID-accf77f5-526c-ddbb-1553-cf89e0d3ec3c

Map attributes between the import and intermediate stages:

Select a node on an attribute in the import stage.

Select a node on the relevant attribute in the intermediate stage.

UUID-910b00a3-566f-51e0-4fa0-34973733eb25

Map intermediate attributes to export following the same steps. UUID-a7ef9ee6-68d8-4495-fcad-1a71f073bab1

Tip

Alternatively, you can map an attribute by selecting its node and dragging a connection to another attribute in the following stage.

Delete attribute connections

You can delete connections between attributes as follows:

Select the connection.

Select Yes in the pop-up. UUID-523a8018-cf31-e228-65d5-828891bbb971

Create new user-generated attributes

You can create user-generated attributes in the intermediate and export stages. A user-generated attribute can start with three underscores (___) but doesn't have to.

You have created a new attribute. Dataflow displays it in gray-and-white stripes. You can now map your new user-generated attribute to attributes in other stages.

Scroll to the bottom of the intermediate or export stage to select Drop or Click to add new attribute.

In the Attribute name field, enter a name for the attribute. Start each attribute name from a new line to create multiple attributes at once.

UUID-6f140028-b41b-c499-d5e6-7598c2d80e71UUID-0b88e03c-837b-8f28-84f8-88f1a25136c4
You can use the following characters in attribute names:
  • Latin letters from A to Z. You can use both upper- and lowercase letters while entering attribute names, but the platform saves attribute names only in lowercase letters.
  • Digits from 0 to 9.
  • Spaces. The platform replaces multiple consecutive spaces with one space character and removes spaces at the beginning and end of attribute names.
  • Punctuation and other special characters, such as !, ?, #, $, %, &, ', (, ), *, +, ,, -, ., /, \, :, ;, <, =, >, @, [, ], ^, _, {, }, |, and ~.

Tip

If you create a new user-generated attribute in the export stage but don't want the platform to export it to your destination and channel, you can start the attribute name with three underscores (___).

Select Save.

You can create user-generated attributes if an export doesn't contain all the mandatory or optional attributes you want to send to the channel.

Alternatively, you may create user-generated attributes for non-standard cases. For example, you need to skip all items during export if they are relevant for the winter season (coats, sweaters, and scarves).

You can use one of the skip rule boxes, such as Skip Row If Value In, in the attribute containing season information, but you don't want the season information to appear in the exported data. You can't add a rule box between import and intermediate stages, as this will affect all exports, and you need to skip the items only for one particular export.

To achieve the result, do the following:

Create a new user-generated attribute in the export stage with three underscores (___) in front of the attribute's name, such as ___season.

Connect ___season with the attribute containing the season data in the intermediate stage.

Add a rule box that excludes products, such as Skip Row If Value In, to the ___season attribute. See Include or exclude products.

The platform applies the rule box to the values in ___season and excludes the corresponding items during export. The platform doesn't export the ___season attribute.

Delete user-generated attributes

You can't delete attributes that are a part of your added exports, the import stage, or generated by data services and other features in the platform.

To delete any user-generated attributes:

Make sure the attribute you want to delete isn't connected to any other attributes. If it is, see Delete attribute connections to remove the connection.

Hover over the user-generated attribute you want to delete.

Select the UUID-76106bb1-47b5-bb17-eb28-c002a97c15f7 icon. UUID-e0e47e73-2171-6955-4564-9ac1f3d19318

Confirm you want to delete this attribute by selecting Delete.

Map attributes across multiple sites in bulk

If you need to create connections between the same attributes in multiple sites, you can use the Bulk Option feature to save time.

You must have the same attribute names across the sites where you want to use a bulk action that adds a connection in Dataflow.

A final confirmation screen shows whether the bulk action was successful.

You can leave this screen by selecting Return to organization page. You can also go to one of the sites where you performed the changes by selecting the name of the needed site.

UUID-5ae50ae7-e2a8-f9ba-b6b8-70d4b50f4baf

Go to the organization or project level and select Bulk Option. UUID-0825a97e-b71c-6bbe-e850-9210a13f9c13

Choose the sites where you want to create connections and select Next Step.

Choose Add Dataflow Connection and select Next Step.

In the Dataflow drop-down list, choose whether the platform should add connections between the import and intermediate stages or the intermediate and export stages.If you select Intermediate - Export, you need to additionally choose a relevant export in the Export dropdown. UUID-f6714a3c-1459-950b-e5b1-fd63672962ee

Enter the names of the attributes you want to map. A list with all available attributes appears as you type.

  • If you choose Import - Intermediate, enter the name of the import-stage attribute in Source column and the name of the intermediate-stage attribute in Intermediate Column.
  • If you choose Intermediate - Export, enter the name of the intermediate-stage attribute in Intermediate Column and the name of the export-stage attribute in Export Column.

Select Execute.

Export your data

There are many ways to export data in Productsup. If you want to initiate a full run, from import to export, select the Run button.

UUID-b3058d09-727c-6ff7-341c-13774c10f61a

If you want to export current imported data to all exports without re-importing data from your data sources, select the Export button.

UUID-91283cf7-ca77-203d-6660-ce416be06407

If you want to export existing data to only one export:

Go to Exports from your site's main menu.

Select the Export button for a specific export. Alternatively, you can select the needed export and choose Export this export on the setup page of that export. UUID-9c413682-902e-d013-b123-9933de3e3490

How is this guide?

On this page