Gigya Job Openings

Marketo Dataflow - Outbound

Skip to end of metadata
Go to start of metadata

The dataflow that loads data from Gigya into Marketo involves field renaming to match Gigya's format, and field removal. The various dataflow steps are described in greater detail here: Component Repository

Following is a code sample of a full dataflow for passing data from Gigya to Marketo: 

{
    "id" : "...",
    "name" : "Marketo (outbound)",
    "description" : "account > rename > remove > marketo",
    "steps" : [{
            "id" : "account",
            "type" : "datasource.read.gigya.account",
            "params" : {
                "select" : "UID,profile.email,profile.firstName,profile.lastName,profile.likes",
            },
            "next" : ["rename"]
        }, {
            "id" : "rename",
            "type" : "field.rename",
            "params" : {
                "fields" : [{
                        "sourceField" : "UID",
                        "targetField" : "gUID"
                    }, {
                        "sourceField" : "profile.email",
                        "targetField" : "email"
                    }, {
                        "sourceField" : "profile.firstName",
                        "targetField" : "firstName"
                    }, {
                        "sourceField" : "profile.lastName",
                        "targetField" : "lastName"
                    }, {
                        "sourceField" : "profile.likes",
                        "targetField" : "fblikes"
                    }, ]
            },
            "next" : ["remove"]
        }, {
            "id" : "remove",
            "type" : "field.remove",
            "params" : {
                "fields" : ["profile"]
            },
            "next" : ["marketo"]
        }, {
            "id" : "marketo",
            "type" : "datasource.write.marketo",
            "params" : {
                "baseUrl" : "...",
                "clientId" : "...",
                "clientSecret" : "..."
            },
        }
    ]
}
  • No labels