Posting a Twitter Message Using a Flow
In the example, build a Flow that displays a Form for entering a Tweet.
Once the user enters the message and clicks Done, the Post Tweet component uses Integration with the Twitter API to post the tweet.
Begin by creating a Flow in a Designer Folder and adding a Show Form step.
Configure the Form by adding a Text Box component along with a button, as such.
Save and Close the Form to save any changes and return to the Flow Designer.
Then, from the Show Form step's Properties tab, change the mapping for the Form's Input to Ignore; this will allow users to pass in their submitted String into the Form.
Next, attach a Post Tweet step, from the Step Toolbox > Communication > Twitter Folder, to the outcome path of the Form.
Then, connect the outcome path of that step to End step.
Next, from the Properties tab for the Post Tweet step, define the token Id Input by Constant mapping in the name of a user-defined OauthToken Id. This Input tells the Flow which Twitter API to interact with.
After defining the 'token Id', map in the tweet Input; this Input is used to determine the text that will be tweeted out on the Twitter Account affiliated with the token Id. To utilize the Input from the Show Form step, Select From Flow map the Output of the Form step, to the tweet Input.
Finally, Save and Close the Flow.
from: https://documentation.decisions.com/v9/docs/posting-a-twitter-message-using-a-flow
Howdy, Stranger!
Categories
- 4.2K All Categories
- 66 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions