How-To stream social media notifications to your Slack with Azure Cloud Logic Apps

How-To stream social media notifications to your Slack with Azure Cloud Logic Apps

We live in turbulent times. We need information, the right information.

We live in turbulent times. We need information, the right information.

Information is Important.

Then Context is important.

And Timing is important.

You see, I run a small Slack group, intended to be for *Financially Savvy Investor “want-to-be” *(all one word)

Andtherein our group, we discuss news, opportunities, and strategies. It’s a hobby — But not financial advice :D

The challenge is to ensure that we, as a group are up-to-date with the relevant social and economic developments, — something we discuss at length in more relevant channels. We have *#Crypto #Stocks #Buy-To-Lets #Economy *channels to name a few.

There are a number of Slack integrations available(paid), but my purpose was to get more bespoke Twitter updates into the relevant #updates or #news channel on slack, without much coding, faff, and on a shoestring budget. As it make it smart, pay only for the resource it needs to run on.

So I did. It works out to cost about $0.40/month for all my streaming needs. But let's talk details.

This is how I have gone about creating my customer twitter-to-slack feed, and this is where Azure Cloud comes with its hand offering —Logic app. This handy Cloud Function feature offering comes with an easy-to-follow Interface which has quite a great list of supported integration out-of-the-bag, and Twitter and Slack integrations as part of them. What you do next is tweak and tailor the configuration within the UI to your individual requirements, — just as per my integration example steps below;

The How-To Guide

You can replicate this in your own Azure account — you get £150 initial funds on your trial account to experiment with, so you can get started for free.

  1. Create the relevant resource group — this is the best practice grouping which enables you to create all the necessary resources under one group — aka project. This allows convenient clean-up afterward once you’re done with the demo, as well as billing oversight.
  2. Search for “Logic App” within your Resource Group you just created. This is where you explore the Azure Logic App offering and integration options. There are quite a few; HTTP request event, Twitter Event, New File in OneDrive, or something to run on schedule with a Recurrence.

3. Let’s Get Started with the “When a New Tweet is Posted” Twitter integration. This would be just a skeleton Application formality. Complete for relevance so you can proceed to customization stage.

4. This is the fun bit. The initial step will require you to click that Twitter bar and sign in to your Twitter account to complete the first end of the integration process. Right after that, you are presented with the window below, which enables you to “scan” twitter, using your account for the selected hashtags (or list of) as well as capture output of other twitter accounts using from: @twitter-account-name method. There is an interval which should be used with caution, should there be a heavy feed for a particular #hashtag you want to ease that interval timer a bit, reducing the cost of this function — as you are charged per function’s run-event. (Not that it is particularly expensive)

5. This piece will enable your “Logic App” to scrape/feed-in the twitter events via your account. It does not need or should post anything on your Twitter’s account behalf, however. This should be Read-Only access.

The second piece of the above integration is to select the follow-up “Action” for your “Logic App”. This is where you select what you want to do after the *bespoke *Twitter event occurrence has taken place, forwarding the twitter text, name, item, — see list for the full range of options.

Again, you sign into your slack org with the login window that will be presented and select the channel within which you wish to post the message to. There is a myriad of options you can choose to customise the forwarding of such a message into the slack channel. I post to the #news channel, as per the demo. But you don’t have to stop there. You can continue feeding this event pipeline and push/mutate and work with the originating Twitter message scraping event as you see fit. Ps you can integrate multiple Twitter accounts too!.

azure-cloud-services slack-integration logic-apps azure

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Multi-cloud Spending: 8 Tips To Lower Cost

Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.

Multi Service App Development | On-Demand Multi-Services App Solution

Get a robust app, developed from Gojek clone script, integrated with 50+ on-demand services at your budget. Our Gojek Clone, a white-label solution, will enable you to customize and launch your new business venture in just 48 hours.

Beginner's Guide to Deploying a Spring Boot App to Azure App Service

If you are building a Java-based spring boot app, but struggling to deploy app to Azure Cloud, this blog post is for you. It will provide a brief introduction of Azure App Service and App service Plans and a step-by-step guide to deploy Java based Spring boot app to Azure App service.

How-To stream social media notifications to your Slack with Azure Cloud Logic Apps

How-To stream social media notifications to your Slack with Azure Cloud Logic Apps

Cloud Computing Services | cloud integration solutions | Cloud Services

CIS offers a wide spectrum of cloud based computing services, including cloud integration solutions and cloud software solutions and integration services at cost effective price.