I am trying to assign an associated slack channel for a deal using the apis, however I am not able to find the property or association using the APIs and am not sure how to read or create these associations as they are not found in the documentations.
Hey @AMokhtar2, thank you for posting in our Community
Currently, HubSpot’s API does not directly expose Slack channel associations for deals.
A workaround could be storing Slack channel IDs in a custom deal property or retrieving them via Slack’s API.
To our top experts, @Anton and @DanielSanchez do you have any other recommendations for @AMokhtar2 matter?
Thank you,
Pam
The goal is to be able to assign the channel using the API. So storing it in a different field would not accomplish that. Right now there is no clear way to be able to update deals in batch with the dedicated slack channel, and there is also no way to be able to do it using the API.
how would you recommend assigning a single Slack channel for all my deals so that we would be able to get a stream of updates as they happen.
I am having the same issue, I want to automatically associate a deal specific slack channel with the deal in hubspot, but it seems like there is no API allowing me to do that. Is the only possible way currently to go to the deal and manually click on the slack card to associate a channel?
Hey @CLuo - thanks for following up here!
I’d like to tag in a few more Community experts here to see if they have any insight for us on how you might be able to achieve this! @karstenkoehler, @danmoyle, and @franksteiner79 - any thoughts for @CLuo?
Shane, Senior Community Moderator
Welcome to the Community, @CLuo! Currently, HubSpot’s public APIs do not provide a direct way to programmatically read or create the association between a specific Slack channel and a Deal record. The integration between HubSpot Deals and Slack channels (where a unique channel can be linked to a Deal via the Deal’s record sidebar “Slack” card) is managed through the official HubSpot-Slack integration app, but these associations are not exposed in the public CRM object properties or associations APIs. So you’re correct, the only possible way currently to go to the deal and manually click on the slack card to associate a channel.
FWIW, I did find this ‘alternative solution’ in a little internet digging:
- Some teams maintain a custom HubSpot property (plain text or URL) to store the Slack channel ID or URL and update it manually or via an automation outside of the HubSpot–Slack integration (such as via a Zapier or custom Slack app).
- If you control both HubSpot and Slack via their respective APIs, you might “simulate” an association for your internal use by syncing and mapping channel IDs to deals through a separate dataset or integration layer, but this won’t reflect as an official association in HubSpot’s interface.
I have no experience with this as a solution, but it may be worth exploring!