Salesforce Certified Slack Developer Practice Questions

Salesforce Certified Slack Developer exam preparation

Salesforce Certified Slack Developer practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 105 minutes.

Salesforce Certified Slack Developer free question 9 / 10 · Domain 6: Designing for Scale

A bot in a Slack Connect channel receives a message from a person on the partner team and tries to read that person's email through users.info. What should the design expect?

  1. The user object is identical to an internal one, and email needs only users:read
  2. The user object has a locale for external users, and email needs only users:read.email
  3. The user object is hidden for external users, and email needs the admin scope
  4. The user object may be limited, may carry is_stranger, and email needs both scopes
Show the answer and explanation

Answer: D

Why this is correct
Apps in Slack Connect channels receive messages and events from users on external teams, and the user type object returned by methods such as users.info provides additional information to identify them while withholding some data the app may expect. If the user is a stranger who is not in any shared channels, is_stranger is true, and profile data for external members and strangers carries no locale information. Reading the email field requires both the users:read.email and users:read scopes. The documentation states: “If the user is a stranger who isn't in any shared channels, the is_stranger flag is set true.”

Why the other options are wrong
"The user object is identical to an internal one, and email needs only users:read" … User objects for external members differ and withhold some information, and the email field needs both scopes.
"The user object is hidden for external users, and email needs the admin scope" … The user object is returned, with identifying differences such as is_stranger. No admin scope is required for the email field.
"The user object has a locale for external users, and email needs only users:read.email" … External members and strangers have no locale information in their profile data, and email needs both scopes.

Key points
External users: limited profile data, is_stranger flag, email needs users:read.email and users:read.

Go to the Salesforce Certified Slack Developer practice app (10 free questions; purchase unlocks all questions)

See the full practice set