Skip to content

Commit

Permalink
Add entry for Slack user email
Browse files Browse the repository at this point in the history
  • Loading branch information
erinkcochran87 committed May 28, 2021
1 parent fa31d10 commit cd4375e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _changelog/entries/2021/2021-05-24-slack-v1-user-profile-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Slack (v1) update: User email now available in users table"
content-type: "changelog-entry"
date: 2021-05-24
entry-type: updated-feature
entry-category: integration
connection-id: "slack"
connection-version: "1"
pull-request: "https://github.com/singer-io/tap-slack/pull/16"
---
{{ site.data.changelog.metadata.single-integration | flatify }}

We've added a new column to the {{ this-connection.display_name }} `users` table: `profile.email`. This column contains the email address for the associated user.

**Note**: To replicate this data, you'll also need to grant the `users:read.email` scope to the [Stitch app created for the integration]({{ site.home | append: site.baseurl | append: this-connection.url | append: "#assign-scopes" }}).
8 changes: 8 additions & 0 deletions _integration-schemas/slack/v1/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ attributes:
type: "string"
description: ""

- name: "profile"
type: "object"
description: ""
subattributes:
- name: "email"
type: "string"
description: ""

- name: "real_name"
type: "string"
description: ""
Expand Down
1 change: 1 addition & 0 deletions _saas-integrations/slack/v1/slack-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ setup-steps:
- `useergroups:read`
- `users.profile:read`
- `users:read`
- `users:read.email`
{{ integration.display_name }} will automatically save the changes each time a scope is added.
6. Repeat steps 4 and 5 until all the scopes have been added.
Expand Down

0 comments on commit cd4375e

Please sign in to comment.