Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Note
  • 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.
Code Block
languagejs
linenumberstrue
{
      "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"
          }
        }
      ]
    }

...