Slack
The following are the requirements and connection instructions for using Slack with Amazon AppFlow.
Note
You can use Slack as a source only.
Requirements
-
To create a Slack connection in Amazon AppFlow, you must note your client ID, client secret, and Slack instance name. To retrieve your client ID and secret from Slack, you first must create a Slack App if you haven't already. For more information about how to create an App and then retrieve your client ID and secret, see the Slack documentation
. -
Set the redirect URL as follows:
-
https://console.aws.amazon.com/appflow/oauth for the us-east-1 Region
-
https://
region
.console.aws.amazon.com/appflow/oauth for all other Regions
-
-
Set the following user token scopes:
-
channels:history
-
channels:read
-
groups:history
-
groups:read
-
im:history
-
im:read
-
mpim:history
-
mpim:read
-
Connection instructions
To connect to Slack while creating a flow
Sign in to the AWS Management Console and open the Amazon AppFlow console at https://console.aws.amazon.com/appflow/
. -
Choose Create flow.
-
For Flow details, enter a name and description for the flow.
-
(Optional) To use a customer managed CMK instead of the default AWS managed CMK, choose Data encryption, Customize encryption settings and then choose an existing CMK or create a new one.
-
(Optional) To add a tag, choose Tags, Add tag and then enter the key name and value.
-
Choose Next.
-
Choose Slack from the Source name dropdown list.
-
Choose Connect to open the Connect to Slack dialog box.
-
Under Client ID, enter your Slack client ID.
-
Under Client secret, enter your Slack client secret.
-
Under Workspace, enter the name of your Slack instance.
-
Under Data encryption, enter your AWS KMS key.
-
Under Connection name, specify a name for your connection.
-
Choose Continue.
-
-
You will be redirected to the Slack login page. When prompted, grant Amazon AppFlow permissions to access your Slack account.
Now that you are connected to your Slack account, you can continue with the flow creation steps as described in Creating flows in Amazon AppFlow.
Tip
If you aren’t connected successfully, ensure that you have followed the instructions in the Requirements section.
Notes
-
When you use Slack as a source, you can run schedule-triggered flows at a maximum frequency of one flow run per minute.
Supported destinations
When you create a flow that uses Slack as the data source, you can set the destination to any of the following connectors:
-
Amazon Connect
-
Amazon Honeycode
-
Amazon Redshift
-
Amazon S3
-
Marketo
-
Salesforce
-
Snowflake
-
Upsolver
-
Zendesk
You can also set the destination to any custom connectors that you
create with the Amazon AppFlow Custom Connector SDKs for
Python
Related resources
-
Retrieve your client ID and secret
in the Slack documentation -
New – Announcing Amazon AppFlow (dataflow: Slack, S3, Athena, QuickSight)
in the AWS News blog -
How to transfer data from Slack to Amazon S3 using Amazon AppFlow