operationcode-pybot icon indicating copy to clipboard operation
operationcode-pybot copied to clipboard

Auto-Invite to Military or Veteran Related Channels on Join

Open brownnrl opened this issue 6 years ago • 3 comments

Cross link between back end issue 47.

The back end optionally passes the military status info to pybot, pybot has an association of military status to channel ID, and submits that with the optional parameters of the undocumented slack api call users.admin.invite called here with those slack channel ids if present.

Additional information is presented in this SO post.

A warning should be noted that this feature may be deprecated in favor of the priced (Plus/Enterprise) slack APIs in the future.

brownnrl avatar Sep 27 '19 14:09 brownnrl

@kylemh @hollomancer - I'm missing some context here; Aaron and I think there has been some discussion around putting this into the initial form users fill out to even get the first invitation. Is that a viable route or do we still want to prioritize this and the related backend issue?

JudsonStevens avatar Aug 18 '21 22:08 JudsonStevens

Out of the loop as well. We collect that info during reg but don't verify

kylemh avatar Aug 19 '21 01:08 kylemh

Alright - if we have that information then I think we can work this one similar to the zip code one - we pull that information from the backend and for current users send them a DM with the relevant channels for their branch of service. For new users we auto-invite them to the relevant channels as well. The admin namespace for the Slack Web API has been moved to Enterprise only so we can use the conversations.invite API call.

JudsonStevens avatar Jan 02 '22 00:01 JudsonStevens