Details

This atomic belongs to the Slack atomic group.

Searches for a Slack user by their email address. This atomic requires the following API scope: users:read.email.

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
[] Search for the user
[] 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 user information and set the output variables
[]> If it wasn't, return an error

More information about this API: https://api.slack.com/methods/users.lookupByEmail

About
Integration
Authorship
Cisco Managed