
Slack - Create Conversation
This atomic belongs to the Slack atomic group.
Create a public or private conversation in Slack. This atomic requires one of the following API scopes depending on usage: 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 conversation be created
[] 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 was, attempt to extract the conversation information and set the output variables
[]> If it wasn't, return an error
More information about this API: https://api.slack.com/methods/conversations.create