Skip to content

How to Send New Tweets from Twitter to Slack as Messages | Twitter Slack Integration

  • by

In this post, we will look at how you can integrate Twitter with Slack and automatically share new tweets posted on your Twitter account to the Slack channel of your choice.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first link Twitter with Pabbly Connect to capture any newly posted tweets, then link Pabbly Connect with Slack and share the Tweets on the Slack channel.

Steps to Automatically Share New Tweets on Slack

1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Setup Twitter as the Trigger App to Fetch New Tweets
3. Setup Slack as the Action App to Send Notifications

Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow

A. Sign In / Sign Up

To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.

Click on the Pabbly Connect ‘Access Now’ button

B. Create Workflow

To create a new workflow, click the ‘Create Workflow’ button.

Name your workflow, and click on ‘Create’.

Step 2:- Setup Twitter as the Trigger App to Fetch New Tweets

Let’s now delve into the steps required to create a connection between Twitter and Pabbly Connect. This will enable us to monitor and capture every new tweet that is posted on your Twitter account.

A. Trigger App

Trigger allows us to choose the application that will retrieve the data for Pabbly Connect. In this instance, it would be Twitter.
Choose ‘Twitter’ as your Trigger App, select ‘New Tweet’ as the Trigger Event, and click on ‘Connect’.

B. Connect Twitter Account

To connect with your Twitter account, select ‘Add New Connection’, and click on ‘Connect With Twitter’. You will also need to grant authorization to establish the connection.

C. Test Connection

To verify that the connection has been successfully established, we will now post a tweet and check for the received response.

Log in to your Twitter account, post a tweet, and click on ‘Save & Send Test Request’.

Expand Respond Received, under which the details of your latest tweet must be visible, thus confirming our connection.

Step 3:- Setup Slack as the Action App to Send Notifications

Action allows us to choose the application that will get executed by the workflow trigger.
As we intend to share the captured tweets through Slack channel messages. We will setup Slack as our Action App.

A. Action App

Choose ‘Slack’ as your Action App, select ‘Send Channel Message’ as an Action Event, and click on ‘Connect’.

B. Connect with Slack Account

To connect with your Slack account, select ‘Add New Connection’ and then click on ‘Connect With Slack’.

Type in your Token Type and click on ‘Save’ to proceed. Next, authorize the required permissions to establish the connection.

Choose the desired Channel to which you would like the message to be sent.

C. Compose Message

After successfully connecting your Slack account, the final step is to map the post details from the previous step. Mapping ensures that our data remains dynamic and changes as per the received responses

Compose a Message by mapping the tweet from the step above, and click on ‘Save & Send Test Request’.

The moment you click on Save & Send Test Request, the tweets will be shared on the specified Slack channel.

Our integration between Twitter and Slack is fully automated and operational. Henceforth, every time you post a new tweet, it will automatically be shared on your chosen Slack Channel.

You can copy this entire workflow by clicking this link.

Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum