Campaign Monitor Dataflow - Outbound

Skip to end of metadata
Go to start of metadata

This sample dataflow demonstrates reading subscription data from Gigya and writing to Campaign Monitor. The dataflow is built of the following steps: 

  1. Reads data from Gigya, including the UID, profile.firstName, profile.email and custom subscription fields (data.subscribed). The next step is rename.
  2. Renames Gigya fields to match  Campaign Monitor's format. Includes a custom field that was created at Campaign Monitor, "GigyaUID", to be matched with Gigya's "UID" field. The next step is writing to Campaign Monitor. 
  3. Writes to Campaign Monitor's database, with the subscription status written to newsletterField. 

For an in-depth explanation of each step, see Component Repository

  • When passing Gigya fields that contain lengthy strings (such as likes), note that Campaign Monitor custom fields are limited to a value of up to 250 characters.
  • The IdentitySync integration with Campaign Monitor does not include support for multi-client installations, segments, campaigns and accounts.
  • To meet Campaign Monitor's anti-spam policy, you must have explicit permission to email the contacts you're importing. For more information, see the Campaign Monitor terms of use.
  • See Campaign Monitor documentation on getting a list ID.
  • The Campaign Monitor date field indicates a data only, and does not include a timestamp for hours/minutes/seconds. See Unsubscribed API documentation.
{
      "name": "Campaign Monitor - outbound",
      "description": "account > rename > remove > campaignmonitor",
      "steps": [
        {
          "id": "account",
          "type": "datasource.read.gigya.account",
          "params": {
            "select": "UID,profile.firstName,profile.email,data.subscribed"
          },
          "next": [
            "rename"
          ]
        },
        {
          "id": "rename",
          "type": "field.rename",
          "params": {
            "fields": [
              {
                "sourceField": "UID",
                "targetField": "GigyaUID"
              },
              {
                "sourceField": "profile.firstName",
                "targetField": "Name"
              },
              {
                "sourceField": "profile.email",
                "targetField": "EmailAddress"
              },
              {
                "sourceField": "data.subscribed",
                "targetField": "newsletterField"
              }
            ]
          },
          "next": [
            "campaignmonitor"
          ]
        },
        {
          "id": "campaignmonitor",
          "type": "datasource.write.campaignmonitor",
          "params": {
            "apiKey": "...",
            "listId": "...",
            "newsletterField": "newsletterField"
          }
        }
      ]
    }
  • No labels