
Slack - Get User Profile
This atomic belongs to the Slack atomic group.
Fetches a user's profile from Slack. This atomic requires the following API scope: users:read.
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 query string
[] Request the user profile
[] 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 profile information and set the output variables
[]> If it wasn't, return an error
More information about this API: https://api.slack.com/methods/users.info