
Slack - Post Ephemeral Message
This atomic belongs to the Slack atomic group.
Posts an ephemeral message in a Slack conversation. Ephemeral messages are only visible to a specific user and are meant to be temporary. This atomic requires the following API scope: chat: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:
[] Make sure at least one of the content variables was provided:
[]> If not, return an error
[] Build the authorization header and the request payload
[] Post the message
[] 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 message data and set the output variables
[]> If it wasn't, return an error
More information about this API: https://api.slack.com/methods/chat.postEphemeral