Gareth Cantrell Posted August 19, 2024 Posted August 19, 2024 I'd like to request a couple of enhancements to the Slack integration as follows: Method: Slack/Channels/Channel Create Add the following request parameters: is_private -> currently, we can only create public channels, however, for our CyberSec Incident team, we need to create private channels team_id -> we have Slack Enterprise Grid and this parameter will allow us to choose in which Slack Workspace to create the channel Method: Slack/Chat/Post Message Add the following request parameters: thread_ts -> This parameter allows us to post messages as a reply, rather than as a new channel post. When posting a message, the current method already returns the thread_ts, but doesn't allow us to continue the conversation in that thread.
Jordan Gooding-McGovern Posted August 19, 2024 Posted August 19, 2024 Hi @Gareth Cantrell thanks for the detailed explanations - we'll look into getting those added. 1
Gareth Cantrell Posted August 21, 2024 Author Posted August 21, 2024 @Jordan Gooding-McGovern I was doing some more testing on this, and the Post Message is not returning the "ts" field in the response, only the "channel" field. I also realised there is a "Reply to Message" function, but without a valid "ts", we cannot use that.
Jordan Gooding-McGovern Posted August 28, 2024 Posted August 28, 2024 @Gareth Cantrell The latest iBridge release contains the changes asked for in this thread. I've added an optional field in the post message method which allows users to reply via the method and have fixed the bug causing the TS to fail to be returned. The old reply method has been left in, in case users have that already cemented into their workflows. 1
Gareth Cantrell Posted August 28, 2024 Author Posted August 28, 2024 Thanks for this @Jordan Gooding-McGovern !
Gareth Cantrell Posted August 28, 2024 Author Posted August 28, 2024 @Jordan Gooding-McGovern nearly there! Getting an error when trying to add a user to a channel now: "failureMessage": "iBridge Method: /Slack/Channels/User Add to Channel.m Error: invalid_arguments" I used this in an auto-task with both with hard-coded channel id and user id and in an auto task immediately after channel create and user lookup, and get the same response no matter what I try.
Gareth Cantrell Posted August 28, 2024 Author Posted August 28, 2024 The new Thread TS parameter works perfectly btw, however I am unable to test the private channel creation as the "User Add to Channel" is not working
Jordan Gooding-McGovern Posted August 28, 2024 Posted August 28, 2024 @Gareth Cantrell Once again I appreciate the detailed response and troubleshooting on your end, I'll review it and let you know once there's an update!
Jordan Gooding-McGovern Posted August 29, 2024 Posted August 29, 2024 @Gareth Cantrell Another iBridge release has just hit live which should resolve the problems you're facing in this thread. Do let me know if there's anything amiss!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now