Clay Icon

Guidance Needed for Setting Upsert Key in Email Match Operation

Β·
Β·

Hi, Im confused on where to set the Upsert key on this operation. Im trying to use email to match it. No options seem to come up for me.

  • Avatar of Justin T.
    Justin T.
    Β·
    Β·

    Following up here. Thanks πŸ™

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    For the Salesloft Upsert Person operation, you don't need to explicitly set an upsert key - the integration automatically uses the email address (Primary Email Address field) as the matching key. When you provide an email address, the system will automatically search for a person in Salesloft using that email. If a match is found, it will update the existing record; if no match exists, it will create a new person record.

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Was that helpful?

  • Avatar of Channeled
    Channeled
    APP
    Β·
    Β·

    Hi Justin T.! This thread was recently closed by our Support team. If you have a moment, please share your feedback:

  • Avatar of Osman S.
    Osman S.
    Β·
    Β·

    Hey Justin T.! You need to have an external ID set on the object for upserts to work

  • Avatar of Mark L.
    Mark L.
    Β·
    Β·

    Hey Justin, did you get what you need here? Echoing Osman, to use the Upsert Object action, the Salesforce object will need to have a field designated as an "External ID" within Salesforce. An example of what that would look like for a Salesforce admin:

    (127 kB)
    Image

    Does your Lead object in Salesforce have any fields with that "External ID" checkbox checked?

  • Avatar of Justin T.
    Justin T.
    Β·
    Β·

    Ohh. I didn’t realize it wasn’t like that by default. I only checked the field level indexing. Thank you!

  • Avatar of Justin T.
    Justin T.
    Β·
    Β·

    Actually, Lead.Email should be a default external ID. There’s no option to mark it external

  • Avatar of Mark L.
    Mark L.
    Β·
    Β·

    Ah, right, the default email field (for example) wasn't designed by Salesforce for the purpose (e.g. not indexed the same way, not guaranteed unique, etc.). You'll need to use an existing field that's designated as an External ID, or create a new one marked as such.

  • Avatar of Justin T.
    Justin T.
    Β·
    Β·

    Still hitting the same issue. I created a custom field Contact.Email2__c and ported the data from Contact.Email over. Clay found it and it's set up in the setting but still failing.

  • Avatar of Mark L.
    Mark L.
    Β·
    Β·

    This table, right? https://app.clay.com/workspaces/460716/workbooks/wb_FKteE6KFJPNX/tables/t_PsJcKVsC5R2D/views/gv_AipfRKNS8ogp Be sure to supply a value for the designated lookup field – you'll need to scroll down a bit to find it.

    (178 kB)
    Image

    Could you try updating that, and let me know how it goes?