Slack integration - route to channel based on UserEcho post category
I'm trying to route events to Slack channels based on the category of the post or comment in User_echo, such that an uncategorized post can route to #userecho_uncategorized, and when it gets categorized as "Design" the integration will send it to #userecho_design.
Has anyone done something similar?
We've got this up and running great for topic creation, but currently don't get the category attribute with comment hooks. Can the comment hooks be updated such that you also include the category with the topic attribute for the comment hooks? This would allow us to remove some special storage and handling we've had to create as a workaround. Thank you.
Hello Thomas,
If you need to get topic's category just make an API call when you receive the webhook.
https://userecho.com/dev/api/reference/
Then you will get all information about topic with no need to save something extra on your side.