In this guide we explore the general concept of sending a user a message (Tweet) to alert them when their original Tweet has been posted on your Stack.
- Twitter: Twitter is a short messaging Social Network.
- Zapier: Zapier is a tool for primarily non-technical users to connect together web apps. An integration between two apps is called a Zap. A Zap is made up of a Trigger and an Action. Whenever the trigger happens in one app, Zapier will automatically perform the action in another app.
What you require:
This guide assumes you have the following:
- Zapier Account
- Stackla License
- Twitter Account
The Fun Part:
Stackla has made it easy to leverage Twitter to send a message (Tweet) to alert them when their original Tweet has been posted on your Stack. To install and run on your Stack, simply follow the steps below.
1. Install the Zapier for Stackla Plugin
To access the plugin, simply go to the Plugin directory within your Stack and install the plugin titled 'Zapier’.
Once setup you will be given the option to configure your Zap and Instance details.
Here you can specify a name for your Zap within your Stackla environment and generate an access token which you will need later on in this process.
We will also need to come back here to add in a Zap Trigger into this lower section.
2. Install the Twitter for Stackla Shared Zap
Once you have configured Zapier on the Stackla side, you can now take advantage of the already created ‘Shared Zap’.
Find the ‘Send Tweets from published Stackla tiles' on the Twitter plugin in the Stackla Plugin Directory. Click the ‘Use this Zap’ button.
First step is to setup a Webhook within Stackla. Going back to where you edited your Zapier plugin, paste the provided Webhook into the Tile Published section (under Zap Triggers).
Next step is to link Stackla to Zapier. To progress, simply click on the Connect option to progress.
From here you can add your Access Token (as generated before) and the Shortname for your Stack.
Final step is to confirm the Trigger fields for this Shared Zap. By default 'Twitter' should already be listed under your Network options. If not, add it from the pick-list. Once you are happy, click on Save + Continue.
Note: This Shared Zap will only work on Twitter tiles. If you add any other network you will run the risk of sending Tweets to the wrong person as Usernames are not unique across Twitter, Facebook, Instagram, Google+ and so on.
Next step is to connect your Twitter account to Zapier. Much like before, simply click on the 'Connect' button to progress.
From here you will be prompted as to where you wish to follow the official Zapier Twitter account (optional). Select either Yes or No and then click 'Yes, Continue'.
Final Step in the Twitter setup process is to log into your account and authorise Zapier's access.
Once complete you can start to specify what message you would like to send users to let them know that their Tweet has been published to your Stack.
Note: Due to Twitter's anti-spam rules, the number of messages which will be sent per hour through this process will be throttled by Zapier to a maximum of 10 per hour. This number is subject to change.
Once you are happy with the association, you can now click ‘Save + Finish’ and send your Zap live.