---
title: Data Driven Slack Messaging with Alteryx
description: Ever wonder how you can automate Slack messages with different data sets? You can, with Alteryx! Here's a step-by-step guide for how to set it up!
---

[Data Blog & Analytics | Arkatechture ](https://www.arkatechture.com/blog)

# [Data Driven Slack Messaging with Alteryx](https://www.arkatechture.com/blog/data-driven-slack-messaging-with-alteryx)

 Written by [Kevin Anderson](https://www.arkatechture.com/blog/author/kevin-anderson) | September 8, 2016

If you keep up with the Arkatechture blog you may have read how our software engineers are [using Raspberry PI’s to post messages to our slack channels](https://www.arkatechture.com/blog/office-intelligence-slack-notifications-for-coffee) when a fresh pot of coffee or popcorn is ready for consumption. This got me thinking- **wouldn’t it be great if we could post messages with more data driven content?** Wouldn’t it be even better if I could add this feature to the Alteryx workflows that keep our internal database up to date?

Well, **Alteryx doesn’t just let you pull data off an API, it also lets you post data as well!** Read on to find out how to use Alteryx to post real time, data driven messages to your own Slack channel.

For the purposes of this writing I am going to assume you have a Slack account. If not, you can** sign up for a free account at [www.slack.com](http://www.slack.com/)**. Once you have an account you will need to set up a custom integration in your Slack settings. Fear not, this is not as complex as it sounds. From your slack channel append your website URL with the following: **/apps/build/custom-integration**. (example - https://*yourslackinstancename*.slack.com**/apps/build/custom-integration**.)

**You are now ready to set up a custom integration!**

From this page do the following:

## 1.Select Incoming Webhooks

## 2. Select a Default Slack Channel for this Integration.

You can always change this later. Go ahead and select the #general channel, or whichever channel you like best.

## 3.You Are Done!

On the final screen grab your webhook URL for use in Alteryx

 

 

## We can now use the Alteryx download tool to post information to this URL.

The basic workflow is as follows:

 

 

**The first text input tool stores the parameters for the basic parts of a Slack message**, this data is then appended to the URL we created above then parsed to JSON. Finally, the JSON is posted to the Slack URL using the Alteryx download tool.

The results display as follows:

 

 

Any data Alteryx has access to can be used to create your message strings!  

**Over [on the Alteryx Portland, ME User Group forum](http://community.alteryx.com/t5/Portland-ME/Meeting-2-in-the-books/gpm-p/32526#M14) is a sample workflow** that does some simple data transformation on my personal Fitbit data and posts the results to Slack. This is a silly example, but can be easily adapted to more helpful use cases that involve job status/event notifications.

[View full post](https://www.arkatechture.com/blog/data-driven-slack-messaging-with-alteryx)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Kevin Anderson"
  },
  "dateModified" : "2017-02-24T14:41:48.858Z",
  "datePublished" : "2016-09-08T16:00:00Z",
  "headline" : "Data Driven Slack Messaging with Alteryx",
  "image" : {
    "@type" : "ImageObject",
    "height" : 800,
    "url" : "http://www.arkatechture.com/hubfs/Blog_Images/data_driven_slack_with_alteryx.png",
    "width" : 800
  },
  "mainEntityOfPage" : "https://www.arkatechture.com/blog/data-driven-slack-messaging-with-alteryx",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://www.arkatechture.com/hubfs/ArkaLogo_Large.png",
      "width" : 377.70493
    },
    "name" : "Arkatechture Blog"
  }
}
```