Skip to main content
christopher_sanderson
Helper ⭐️⭐️
Sep 11, 2019 2:52 AM UTC

PX Data Loader- A quick how to use video

Hey everyone,

I wanted to share a quick video (6 mins.) about how to use the PX Data Loader. I think this will make it easier to understand the use case, but more importantly, how to quickly get it set up and used.

The PX data loader and PX REST API help you bring in User, Account, or Custom Event data into the PX application. The data could be historical or from other usage tracking apps. Then, you can see the data in PX’s Adoption Explorer. Customer data can be used to target your engagements more accurately, or for deeper insights and analytics.

This article will also help you get started with the data loader.

Hope this helps!

Christopher
 

    10 replies

    dileepnalla
    Gainsight Employee ⭐️⭐️
    Sep 11, 2019 6:52 AM UTC
    This is great and easy to understand, thanks @christopher_sanderson for your efforts

    Translate
    Thanks, Dileep Nalla
    harshibanka
    Gainsight Employee ⭐️⭐️
    Sep 12, 2019 2:08 AM UTC
    Hey @christopher_sanderson , thanks for sharing this, super helpful, already shared it with a customer who was looking to do this!

    Translate
    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    Contributor ⭐️⭐️
    Mar 8, 2020 12:20 PM UTC

    Hi,

    I’ve been using the data loader for several custom attributes updates and and it’s great! However - I am now trying to update a field in the USER records and I get the following error (Cleaned up the API Key):

    Row: 75 Error 403 : '{"externalapierror":{"status":"FORBIDDEN","timestamp":"08-03-2020 12:15:48","message":null,"debugMessage":null,"subErrors":null}}' on {"identifyId": "5c095f40f880c4000d1d286f", "customAttributes": {"Champion": "true"}, "propertyKeys": ["AP-XXXXXX-2"], "accountId": "5b17ed0395ed76000d52ff77"}

     

    My config JSON looks like this:

    {

    "apiKey" : "XXXXXX",

    "productKey" : "AP-XXXXXX-2",

    "fieldMapping" : {

    "USER" : {

    "identifyId" : "Identify Id",

    "accountId" : "Account ID",

    "customAttributes.Champion": "Champion"

    }

    }

    }

    These are the same API Key and Product Key i’ve been using to update ACCOUNTS and it worked. Any idea? 

     

    Translate
    link_black
    Gainsight Employee ⭐️⭐️
    Mar 20, 2020 1:11 AM UTC

    I am not sure if you figured this one out, but it looks like your JSON may be at fault.  However, I think the error message could be better from our side. :(

    Translate
    -- Link
    Contributor ⭐️⭐️
    Mar 20, 2020 4:25 PM UTC

    Hi,

    I figured this out. The problem was that the API key which I created initially was only allowed to update accounts (I wanted to ensure I dont mess with user records). So - I created a new API Key which is allowed to update users as well and use it. 

    And yes - the error message could be better :)

     

    Translate
    JPKelliher
    Contributor ⭐️⭐️⭐️⭐️⭐️
    Jan 15, 2021 8:41 PM UTC

    @christopher_sanderson  Thank you so much for the video. We have done a lot of work with this throughout this past year. 

     

    As we need to do this on an almost daily basis, is there a way to automate this and pull the .csv file from and STP site? Or do you have any other recommendations?

    Translate
    J.P. Kelliher
    sai_ram
    Expert ⭐️⭐️
    Jan 20, 2021 11:23 AM UTC

    @christopher_sanderson and @link_black 

    Translate
    sai_ram
    Expert ⭐️⭐️
    Jan 20, 2021 11:35 AM UTC

    @JPKelliher Thank you for watching and raising your query here. 

     

    Translate
    Contributor ⭐️
    Apr 12, 2021 3:37 PM UTC

    I’m new to PX. Instead of using the event capture in the instrumented applications (Javascript event handler), what would be the best way to bulk load the engagement data for PX analytics from another data source into PX on an ongoing basis?  Can the PX data loader be used to do that? I did not see a PX REST API for doing that yet.  It appears the typical use case for the PX bulk data loader is designed more around accounts and custom events, not the engagement activity data.

    Also, since the bulk data loader is written in Python, can it run on Linux instead of Mac or Windows?

    Translate
    JPKelliher
    Contributor ⭐️⭐️⭐️⭐️⭐️
    Jul 20, 2021 6:48 PM UTC

    @ccottrel, thank you for bringing this up. This is similar to the question I asked a few months back but we have not gotten a reply just yet. Hoping ot hear soon. 

     

    We are trying to limit the data exposed to the browser and send over PII using the data loader, but we have yet to figure out how to automate this. :-(

    Translate
    J.P. Kelliher