
Slack - Invite User to Conversation
This atomic belongs to the Slack atomic group.
Invites one or more users to a conversation in Slack. This atomic requires one of the following API scopes depending on usage: channels:write.invites, groups:write.invites, channels:manage, groups:write, im:write, mpim:write.
Target: Slack integration target or an HTTP Endpoint for "slack.com" with a path of "/api"
Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint target
Steps:
[] Build the authorization header and the request payload
[] Request the users be invited
[] Check if the request was successful:
[]> If it wasn't, return an error
[] Extract the request status
[] Check if the request status was successful:
[]> If it wasn't, return an error
More information about this API: https://api.slack.com/methods/conversations.invite