Clay Icon

Salesforce Managed Package Bug: x-clay-webhook-auth Token Issue

Ā·
Ā·

For the salesforce managed package, there is somewhat of a bug. It doesn't support posting to the webhook if you have a auth token x-clay-webhook-auth. There should be a way to add that token in the Clay configuration screen in Salesforce. I'm using the webhook from code on the salesforce side where I explicitly pass in this header with the token, but then when you use the "Launch Enrichment" button on an account, lead, or contact record, it won't work as that flow doesn't support adding the x-clay-webhook-auth token if that makes sense. You an only add the 'Table Webhook URL'.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    When setting up the Salesforce managed package, you'll need to follow these steps to configure the webhook authentication: 1. First, create your Clay table with "Import data from Webhook" as the source. 2. During the webhook setup in Clay, add your authentication token: ā€¢ Use the key "x-clay-webhook-auth" ā€¢ Add your desired token ā€¢ Make sure to copy the token immediately as it's only accessible once 3. In Salesforce, when creating your Enrichment Menu record: ā€¢ Go to App Launcher and search for "Enrichment Menus" ā€¢ Create a new Enrichment Menu record ā€¢ Add the Clay table's Webhook URL (including the authentication token) in the "Clay table URL" fieldAfter completing these steps, the "Launch Enrichment" button should work with the authentication token properly configured. Sources: Table sources overview | Documentation | Clay University Enterprise Feature: SFDC Package Instructions Salesforce integration overview | Documentation | Clay University

  • Avatar of Malik
    Malik
    Ā·
    Ā·

    I tried adding the token after the Table URL, but it still does not work.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    For the Salesforce managed package setup, you'll need to follow these steps to properly configure the webhook authentication: 1. First, create your Clay table with "Import data from Webhook" as the source. 2. During the webhook setup in Clay, add your authentication token: ā€¢ Use the key "x-clay-webhook-auth" ā€¢ Add your desired token ā€¢ Make sure to copy the token immediately as it can only be accessed once 3. When creating your Enrichment Menu record in Salesforce: ā€¢ Go to App Launcher and search for "Enrichment Menus" ā€¢ Create a new Enrichment Menu record ā€¢ In the "Clay table URL" field, append your webhook authentication token to the Webhook URLThe webhook authentication token should be included as part of the webhook URL configuration in the Enrichment Menu setup to ensure it's properly passed when using the "Launch Enrichment" button. Sources: Webhook source guide | Documentation | Clay University Salesforce integration overview | Documentation | Clay University

  • Avatar of Malik
    Malik
    Ā·
    Ā·

    Maybe this worked in the older version of the managed package, but it doesn't work anymore.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    Looks like you're still looking for help. We're escalating this over to our support team and someone should be in touch soon. In the meantime, feel free to include any other information that may be helpful in solving your issue!

  • Avatar of Daniela D.
    Daniela D.
    Ā·
    Ā·

    Hey Malik! Apologies for the delay. Happy to helpāœØ. We've escalated this to the team and will get back with an update.

  • Avatar of Malik
    Malik
    Ā·
    Ā·

    Thanks!

  • Avatar of Daniela D.
    Daniela D.
    Ā·
    Ā·

    Hey Malik! Thanks for your patience. The team confirmed that this is currently not supported. This will potentially be updated, but the current setup (to push data to Clay for enrichment) requires the webhook to not include the auth token. Let me know if you have any questions!

  • Avatar of Malik
    Malik
    Ā·
    Ā·

    Thanks - I thought it was me. I think it will be good to get this fixed from a security standpoint and ensure API requests require a token when using the salesforce integration.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

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